diff options
author | Brad King <brad.king@kitware.com> | 2005-02-17 12:53:03 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2005-02-17 12:53:03 (GMT) |
commit | e64f3c8b67f391dc3bb7a30a45f0fedc532fdbde (patch) | |
tree | a619f03384be222f434e6b9406d0d276f8282ab2 /Tests | |
parent | 9e65aca620390f77c9855660a5ce8823c5587cea (diff) | |
download | CMake-e64f3c8b67f391dc3bb7a30a45f0fedc532fdbde.zip CMake-e64f3c8b67f391dc3bb7a30a45f0fedc532fdbde.tar.gz CMake-e64f3c8b67f391dc3bb7a30a45f0fedc532fdbde.tar.bz2 |
BUG: Fix for space in path for chdir test. We just need to double-quote the arguments.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/CommandLineTest/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CommandLineTest/CMakeLists.txt b/Tests/CommandLineTest/CMakeLists.txt index 7e3a378..51a80cf 100644 --- a/Tests/CommandLineTest/CMakeLists.txt +++ b/Tests/CommandLineTest/CMakeLists.txt @@ -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}\"") |