1
0
Эх сурвалжийг харах

BUG: Fix problem with spaces in the path

Andy Cedilnik 21 жил өмнө
parent
commit
c20b14de9b

+ 1 - 1
Tests/CTestTest/test.cmake.in

@@ -18,7 +18,7 @@ SET (CTEST_COMMAND
 
 # what cmake command to use for configuring this dashboard
 GET_FILENAME_COMPONENT(CTEST_EXECUTABLE_PATH "${CTEST_EXECUTABLE_NAME}" PATH)
-SET(CTEST_CMAKE_COMMAND "${CTEST_EXECUTABLE_PATH}/cmake")
+SET(CTEST_CMAKE_COMMAND "\"${CTEST_EXECUTABLE_PATH}/cmake\"")
 
 MESSAGE("CTest executable: ${CTEST_EXECUTABLE_NAME}")
 MESSAGE("CMake executable: ${CTEST_CMAKE_COMMAND}")