Преглед изворни кода

BUG: Fix problem with spaces in the path

Andy Cedilnik пре 21 година
родитељ
комит
c20b14de9b
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      Tests/CTestTest/test.cmake.in

+ 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}")