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
This commit is contained in:
parent
833b8aa902
commit
ccbdc24ae1
|
@ -138,8 +138,8 @@ IF(BUILD_TESTING)
|
||||||
SET(TEST_RESOURCES TRUE)
|
SET(TEST_RESOURCES TRUE)
|
||||||
ENDIF()
|
ENDIF()
|
||||||
# for borland and watcom there is no resource support
|
# for borland and watcom there is no resource support
|
||||||
IF(("${CMAKE_TEST_GENERATOR}" MATCHES "WMake") OR
|
IF("${CMAKE_TEST_GENERATOR}" MATCHES "WMake" OR
|
||||||
("${CMAKE_TEST_GENERATOR}" MATCHES "Borland"))
|
"${CMAKE_TEST_GENERATOR}" MATCHES "Borland")
|
||||||
SET(TEST_RESOURCES FALSE)
|
SET(TEST_RESOURCES FALSE)
|
||||||
ENDIF()
|
ENDIF()
|
||||||
IF(TEST_RESOURCES)
|
IF(TEST_RESOURCES)
|
||||||
|
|
Loading…
Reference in New Issue