COMP: Fix problems with old cmake
This commit is contained in:
parent
1bbccc5bef
commit
793ae7172f
|
@ -807,21 +807,18 @@ IF(BUILD_TESTING)
|
||||||
ADD_TEST(CTestTest ${CMAKE_CTEST_COMMAND}
|
ADD_TEST(CTestTest ${CMAKE_CTEST_COMMAND}
|
||||||
-S "${CMake_BINARY_DIR}/Tests/CTestTest/test.cmake" -V
|
-S "${CMake_BINARY_DIR}/Tests/CTestTest/test.cmake" -V
|
||||||
--output-log "${CMake_BINARY_DIR}/Tests/CTestTest/testOutput.log"
|
--output-log "${CMake_BINARY_DIR}/Tests/CTestTest/testOutput.log"
|
||||||
-C "\${CTEST_CONFIGURATION_TYPE}"
|
|
||||||
)
|
)
|
||||||
CONFIGURE_FILE("${CMake_SOURCE_DIR}/Tests/CTestTest2/test.cmake.in"
|
CONFIGURE_FILE("${CMake_SOURCE_DIR}/Tests/CTestTest2/test.cmake.in"
|
||||||
"${CMake_BINARY_DIR}/Tests/CTestTest2/test.cmake" @ONLY ESCAPE_QUOTES)
|
"${CMake_BINARY_DIR}/Tests/CTestTest2/test.cmake" @ONLY ESCAPE_QUOTES)
|
||||||
ADD_TEST(CTestTest2 ${CMAKE_CTEST_COMMAND}
|
ADD_TEST(CTestTest2 ${CMAKE_CTEST_COMMAND}
|
||||||
-S "${CMake_BINARY_DIR}/Tests/CTestTest2/test.cmake" -V
|
-S "${CMake_BINARY_DIR}/Tests/CTestTest2/test.cmake" -V
|
||||||
--output-log "${CMake_BINARY_DIR}/Tests/CTestTest2/testOutput.log"
|
--output-log "${CMake_BINARY_DIR}/Tests/CTestTest2/testOutput.log"
|
||||||
-C "\${CTEST_CONFIGURATION_TYPE}"
|
|
||||||
)
|
)
|
||||||
CONFIGURE_FILE("${CMake_SOURCE_DIR}/Tests/CTestTest3/test.cmake.in"
|
CONFIGURE_FILE("${CMake_SOURCE_DIR}/Tests/CTestTest3/test.cmake.in"
|
||||||
"${CMake_BINARY_DIR}/Tests/CTestTest3/test.cmake" @ONLY ESCAPE_QUOTES)
|
"${CMake_BINARY_DIR}/Tests/CTestTest3/test.cmake" @ONLY ESCAPE_QUOTES)
|
||||||
ADD_TEST(CTestTest3 ${CMAKE_CTEST_COMMAND}
|
ADD_TEST(CTestTest3 ${CMAKE_CTEST_COMMAND}
|
||||||
-S "${CMake_BINARY_DIR}/Tests/CTestTest3/test.cmake" -V
|
-S "${CMake_BINARY_DIR}/Tests/CTestTest3/test.cmake" -V
|
||||||
--output-log "${CMake_BINARY_DIR}/Tests/CTestTest3/testOutput.log"
|
--output-log "${CMake_BINARY_DIR}/Tests/CTestTest3/testOutput.log"
|
||||||
-C "\${CTEST_CONFIGURATION_TYPE}"
|
|
||||||
)
|
)
|
||||||
ENDIF (CTEST_TEST_CTEST AND CMAKE_RUN_LONG_TESTS)
|
ENDIF (CTEST_TEST_CTEST AND CMAKE_RUN_LONG_TESTS)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue