diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index 88e9acafb..c2332543e 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -123,6 +123,7 @@ IF(BUILD_TESTING) --build-target foo --test-command foo ) + SET_TESTS_PROPERTIES ( SubProject-Stage2 PROPERTIES DEPENDS SubProject) ENDIF(NOT MSVC60 AND NOT XCODE AND NOT MSVC70) IF (CMAKE_STRICT) @@ -586,7 +587,6 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=CVS -P ${CMake_SOURCE_DIR}/Utilities/Rel SET_TESTS_PROPERTIES ( testdriver2 PROPERTIES DEPENDS testdriver1) SET_TESTS_PROPERTIES ( testdriver3 PROPERTIES DEPENDS testdriver2) SET_TESTS_PROPERTIES ( linkorder2 PROPERTIES DEPENDS linkorder1) - SET_TESTS_PROPERTIES ( SubProject-Stage2 PROPERTIES DEPENDS SubProject) SET_TESTS_PROPERTIES ( SimpleInstall-Stage2 PROPERTIES DEPENDS SimpleInstall) ENDIF(COMMAND SET_TESTS_PROPERTIES AND COMMAND GET_TEST_PROPERTY)