mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-21 13:48:33 -05:00
e654622aee
Checks that giving an invalid build directory to ctest --build-and-test will fail.
4 lines
169 B
CMake
4 lines
169 B
CMake
if(EXISTS ${RunCMake_TEST_BINARY_DIR}/CMakeCache.txt)
|
|
set(RunCMake_TEST_FAILED "Default build dir ${RunCMake_TEST_BINARY_DIR} was used, should not have been")
|
|
endif()
|