summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2018-11-21 21:31:07 +0100
committerSébastien Helleu <flashcode@flashtux.org>2019-09-21 14:48:05 +0200
commit387a44f5ece0af6e805bd1a469d1aa1358d60d98 (patch)
tree22752565d14406bda5e508474bdb67deaa49d22c /cmake
parente1a461279731877ad66298d9c0576997474453af (diff)
downloadweechat-387a44f5ece0af6e805bd1a469d1aa1358d60d98.zip
guile: add support of Guile 2.2 (issue #1098)
Diffstat (limited to 'cmake')
-rw-r--r--cmake/FindGuile.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/FindGuile.cmake b/cmake/FindGuile.cmake
index e283e51f8..7573b0879 100644
--- a/cmake/FindGuile.cmake
+++ b/cmake/FindGuile.cmake
@@ -33,7 +33,7 @@ endif()
find_package(PkgConfig)
if(PKG_CONFIG_FOUND)
- pkg_search_module(GUILE guile-2.0)
+ pkg_search_module(GUILE guile-2.2 guile-2.0)
if(GUILE_FOUND)
# check if variable "scm_install_gmp_memory_functions" exists
set(CMAKE_REQUIRED_INCLUDES ${GUILE_INCLUDE_DIRS})