diff options
-rw-r--r-- | Source/CMakeLists.txt | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index 43ab48e..d9a1a20 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -634,6 +634,8 @@ IF(BUILD_TESTING) ADD_TEST(CTestTest ${CMAKE_CTEST_COMMAND} -S "${CMake_BINARY_DIR}/Tests/CTestTest/test.cmake" -V ) + ENDIF (CTEST_TEST_CTEST) + IF(UNIX) ADD_TEST(BootstrapTest ${CMAKE_CTEST_COMMAND} --build-and-test @@ -642,11 +644,8 @@ IF(BUILD_TESTING) --build-nocmake --build-makeprogram ${CMake_SOURCE_DIR}/bootstrap --test-command ${CMake_BINARY_DIR}/Tests/BootstrapTest/Bootstrap.cmk/cmake --version) - - ENDIF(UNIX) - - ENDIF (CTEST_TEST_CTEST) + ENDIF(UNIX) IF(CMAKE_GENERATOR MATCHES "Makefiles") # see if we can find a fortran compiler on the machine |