BUG: Fix for space in path for chdir test. We just need to double-quote the arguments.
This commit is contained in:
parent
9e65aca620
commit
e64f3c8b67
|
@ -9,7 +9,7 @@ MACRO(EXEC_CMAKE_COMMAND CMAKE_ARGS)
|
|||
ENDIF(${RET})
|
||||
ENDMACRO(EXEC_CMAKE_COMMAND)
|
||||
|
||||
EXEC_CMAKE_COMMAND("-E chdir ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_COMMAND} -E echo \"Hello World\"")
|
||||
EXEC_CMAKE_COMMAND("-E chdir \"${CMAKE_CURRENT_SOURCE_DIR}\" \"${CMAKE_COMMAND}\" -E echo \"Hello World\"")
|
||||
EXEC_CMAKE_COMMAND("-E time \"${CMAKE_COMMAND} -N -L ${CommandLineTest_SOURCE_DIR}\"")
|
||||
EXEC_CMAKE_COMMAND("-E time \"${CMAKE_COMMAND} -N -LA ${CommandLineTest_SOURCE_DIR}\"")
|
||||
EXEC_CMAKE_COMMAND("-E time \"${CMAKE_COMMAND} -N -LH ${CommandLineTest_SOURCE_DIR}\"")
|
||||
|
|
Loading…
Reference in New Issue