summaryrefslogtreecommitdiff
path: root/cmake/modules
diff options
context:
space:
mode:
authorPino Toscano <pino@kde.org>2010-03-07 17:03:21 +0100
committerPino Toscano <pino@kde.org>2010-03-07 17:03:21 +0100
commit0f2e5d6925c5938281d9bafc297a43867c4a915b (patch)
treefef4cc8af4fd48521c8ca2cbc21d09c81d9e0d45 /cmake/modules
parentefdffba45d15b538dbfb294403e99f3a6470b4d9 (diff)
[CMake] move the minimum GLib version to the main CMakeLists.txt
Diffstat (limited to 'cmake/modules')
-rw-r--r--cmake/modules/FindGTK.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/FindGTK.cmake b/cmake/modules/FindGTK.cmake
index 6d614ea2..5dd7ea55 100644
--- a/cmake/modules/FindGTK.cmake
+++ b/cmake/modules/FindGTK.cmake
@@ -20,7 +20,7 @@ if (NOT WIN32)
set (GLIB_FOUND FALSE)
if (_LibGLIB2IncDir)
- exec_program(${PKGCONFIG_EXECUTABLE} ARGS --atleast-version=2.18 glib-2.0 RETURN_VALUE _return_VALUE OUTPUT_VARIABLE _pkgconfigDevNull)
+ exec_program(${PKGCONFIG_EXECUTABLE} ARGS --atleast-version=${GLIB_VERSION} glib-2.0 RETURN_VALUE _return_VALUE OUTPUT_VARIABLE _pkgconfigDevNull)
if(_return_VALUE STREQUAL "0")
set(_glib_FOUND TRUE)
endif(_return_VALUE STREQUAL "0")