Skip to content
Snippets Groups Projects
Commit 782336ef authored by Atkins, Charles Vernon's avatar Atkins, Charles Vernon
Browse files

Fix check to use a clean build

parent b31012d0
No related branches found
No related tags found
1 merge request!289Fix check to use a clean build
......@@ -357,9 +357,9 @@ if(COMMAND dashboard_hook_init)
endif()
if(dashboard_fresh)
if(EXISTS CTEST_BINARY_DIRECTORY)
if(EXISTS "${CTEST_BINARY_DIRECTORY}")
message("Clearing build tree...")
ctest_empty_binary_directory(${CTEST_BINARY_DIRECTORY})
ctest_empty_binary_directory("${CTEST_BINARY_DIRECTORY}")
else()
file(MAKE_DIRECTORY "${CTEST_BINARY_DIRECTORY}")
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment