mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
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()
|