summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2011-01-26 20:52:22 (GMT)
committerAlex Neundorf <neundorf@kde.org>2011-01-26 20:52:22 (GMT)
commitccbdc24ae1d6bc5f7105b4bd242b75b11fd50de9 (patch)
treecc444411cbf680e00e720ab1446aa014e0ee74f2
parent833b8aa902f765601ea3209e39bbacf574a77432 (diff)
downloadCMake-ccbdc24ae1d6bc5f7105b4bd242b75b11fd50de9.zip
CMake-ccbdc24ae1d6bc5f7105b4bd242b75b11fd50de9.tar.gz
CMake-ccbdc24ae1d6bc5f7105b4bd242b75b11fd50de9.tar.bz2
Make cmake build again with cmake < 2.6.3
cmake_minimum_required() still says 2.4.5, but in Tests/CMakeLists.txt there was a parenthesis expression, which is new since 2.6.3. Alex
-rw-r--r--Tests/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index adef084..4a9c043 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -138,8 +138,8 @@ IF(BUILD_TESTING)
SET(TEST_RESOURCES TRUE)
ENDIF()
# for borland and watcom there is no resource support
- IF(("${CMAKE_TEST_GENERATOR}" MATCHES "WMake") OR
- ("${CMAKE_TEST_GENERATOR}" MATCHES "Borland"))
+ IF("${CMAKE_TEST_GENERATOR}" MATCHES "WMake" OR
+ "${CMAKE_TEST_GENERATOR}" MATCHES "Borland")
SET(TEST_RESOURCES FALSE)
ENDIF()
IF(TEST_RESOURCES)