diff options
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/CMakeBuildTest.cmake.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CMakeBuildTest.cmake.in b/Tests/CMakeBuildTest.cmake.in index ebba702..9c3002b 100644 --- a/Tests/CMakeBuildTest.cmake.in +++ b/Tests/CMakeBuildTest.cmake.in @@ -46,7 +46,7 @@ endif(RESULT) # build it again with clean and only COnly target execute_process(COMMAND "${CMAKE_COMMAND}" --build "@CMAKE_BUILD_TEST_BINARY_DIR@" --config Debug - --clean --target COnly + --clean-first --target COnly RESULT_VARIABLE RESULT) if(RESULT) message(FATAL_ERROR "Error running cmake --build") |