diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2018-02-08 10:41:01 +0100 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2018-02-08 10:41:01 +0100 |
commit | 6b414014de24dd9671e491c765c7c5535cd05d40 (patch) | |
tree | 6653b3f2f89603678fa7fabbdcdbbd55c7427c39 /CMakeLists.txt | |
parent | 2a383d2e9d13f5e652cb4e00ccb61558303d6f84 (diff) | |
download | uca-6b414014de24dd9671e491c765c7c5535cd05d40.tar.gz uca-6b414014de24dd9671e491c765c7c5535cd05d40.tar.bz2 uca-6b414014de24dd9671e491c765c7c5535cd05d40.tar.xz uca-6b414014de24dd9671e491c765c7c5535cd05d40.zip |
Raise minimum GLib version to 2.38
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5b838fc..a04ce41 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -69,10 +69,13 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/package.sh.in #{{{ Common dependencies find_package(PkgConfig) find_program(GLIB2_MKENUMS glib-mkenums REQUIRED) -pkg_check_modules(GLIB2 glib-2.0>=2.28 REQUIRED) -pkg_check_modules(GOBJECT2 gobject-2.0>=2.28 REQUIRED) -pkg_check_modules(GMODULE2 gmodule-2.0>=2.28 REQUIRED) -pkg_check_modules(GIO2 gio-2.0>=2.28 REQUIRED) +pkg_check_modules(GLIB2 glib-2.0>=2.38 REQUIRED) +pkg_check_modules(GOBJECT2 gobject-2.0>=2.38 REQUIRED) +pkg_check_modules(GMODULE2 gmodule-2.0>=2.38 REQUIRED) +pkg_check_modules(GIO2 gio-2.0>=2.38 REQUIRED) + +set(GLIB_VERSION_MIN_REQUIRED "GLIB_VERSION_2_38") +set(GLIB_VERSION_MAX_ALLOWED "GLIB_VERSION_2_38") link_directories(${GLIB2_LIBRARY_DIRS}) #}}} |