summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2012-04-18 14:33:39 +0200
committerQt by Nokia <qt-info@nokia.com>2012-04-18 19:53:34 +0200
commitd5bd336dba55d106037a0ccf8fe67f32a3f9c5c6 (patch)
tree46cb0e37cd3b27082ea6773d6b7a012e6af40b99
parente8e3049d311a7dc3c2afd9edba37fd63227ca948 (diff)
Build the first CMake test if *at least* version 2.8.7 is available.
Change-Id: I061130e5b937ad818cc9016ae62d5890092d60f2 Reviewed-by: Clinton Stimpson <clinton@elemtech.com> Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
-rw-r--r--tests/manual/cmake/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual/cmake/CMakeLists.txt b/tests/manual/cmake/CMakeLists.txt
index f7b16946c1..2495c1f627 100644
--- a/tests/manual/cmake/CMakeLists.txt
+++ b/tests/manual/cmake/CMakeLists.txt
@@ -76,7 +76,7 @@ macro(expect_fail _dir)
)
endmacro()
-if(${CMAKE_VERSION} VERSION_GREATER 2.8.7)
+if(${CMAKE_VERSION} VERSION_EQUAL 2.8.7 OR ${CMAKE_VERSION} VERSION_GREATER 2.8.7)
# Requires CMAKE_AUTOMOC function in CMake 2.8.7
expect_pass(pass1)
else()