From 4a2474765f6fca803ae4cca37e0738359f704bb9 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Tue, 30 Jan 2007 11:48:17 -0500 Subject: COMP: Fix bootstrap --- Source/CMakeLists.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index 73676e4..b29600f 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -1079,9 +1079,11 @@ IF(BUILD_TESTING) --output-log "${CMake_BINARY_DIR}/Tests/CTestTest3/testOutput.log" ) # these tests take a log time, make sure they have it - SET_TESTS_PROPERTIES ( CTestTest CTestTest2 CTestTest3 - PROPERTIES TIMEOUT 1500 - ) + IF(COMMAND SET_TESTS_PROPERTIES) + SET_TESTS_PROPERTIES ( CTestTest CTestTest2 CTestTest3 + PROPERTIES TIMEOUT 1500 + ) + ENDIF(COMMAND SET_TESTS_PROPERTIES) ENDIF (CTEST_TEST_CTEST AND CMAKE_RUN_LONG_TESTS) IF("${CMAKE_TEST_GENERATOR}" MATCHES Xcode) -- cgit v0.12