Merge topic 'MakeCMakeBuildWithCMakeLess263'

ccbdc24 Make cmake build again with cmake < 2.6.3
This commit is contained in:
Brad King 2011-01-28 14:17:12 -05:00 committed by CMake Topic Stage
commit 7457a0fd80
1 changed files with 2 additions and 2 deletions

View File

@ -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)