diff options
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/Complex/CMakeLists.txt | 6 | ||||
-rw-r--r-- | Tests/ComplexOneConfig/CMakeLists.txt | 6 | ||||
-rw-r--r-- | Tests/ComplexRelativePaths/CMakeLists.txt | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/Tests/Complex/CMakeLists.txt b/Tests/Complex/CMakeLists.txt index d5863fa..d4b4a06 100644 --- a/Tests/Complex/CMakeLists.txt +++ b/Tests/Complex/CMakeLists.txt @@ -124,12 +124,12 @@ IF (WIN32) ${Complex_SOURCE_DIR}/Library/dummy "${dir}/${file}" COPYONLY IMMEDIATE) - EXEC_PROGRAM("${CCOMMAND_COMMAND} write_regv \"${hkey}\" \"${dir}\"") + EXEC_PROGRAM(${CCOMMAND_COMMAND} ARGS "write_regv \"${hkey}\" \"${dir}\"") FIND_PATH(REGISTRY_TEST_PATH ${file} "[${hkey}]") - EXEC_PROGRAM("${CCOMMAND_COMMAND} delete_regv \"${hkey}\"") - EXEC_PROGRAM("${CCOMMAND_COMMAND} remove \"${dir}/${file}\"") + EXEC_PROGRAM(${CCOMMAND_COMMAND} ARGS "delete_regv \"${hkey}\"") + EXEC_PROGRAM(${CCOMMAND_COMMAND} ARGS "remove \"${dir}/${file}\"") ENDIF (NOT UNIX) ENDIF (WIN32) diff --git a/Tests/ComplexOneConfig/CMakeLists.txt b/Tests/ComplexOneConfig/CMakeLists.txt index d5863fa..d4b4a06 100644 --- a/Tests/ComplexOneConfig/CMakeLists.txt +++ b/Tests/ComplexOneConfig/CMakeLists.txt @@ -124,12 +124,12 @@ IF (WIN32) ${Complex_SOURCE_DIR}/Library/dummy "${dir}/${file}" COPYONLY IMMEDIATE) - EXEC_PROGRAM("${CCOMMAND_COMMAND} write_regv \"${hkey}\" \"${dir}\"") + EXEC_PROGRAM(${CCOMMAND_COMMAND} ARGS "write_regv \"${hkey}\" \"${dir}\"") FIND_PATH(REGISTRY_TEST_PATH ${file} "[${hkey}]") - EXEC_PROGRAM("${CCOMMAND_COMMAND} delete_regv \"${hkey}\"") - EXEC_PROGRAM("${CCOMMAND_COMMAND} remove \"${dir}/${file}\"") + EXEC_PROGRAM(${CCOMMAND_COMMAND} ARGS "delete_regv \"${hkey}\"") + EXEC_PROGRAM(${CCOMMAND_COMMAND} ARGS "remove \"${dir}/${file}\"") ENDIF (NOT UNIX) ENDIF (WIN32) diff --git a/Tests/ComplexRelativePaths/CMakeLists.txt b/Tests/ComplexRelativePaths/CMakeLists.txt index d5863fa..d4b4a06 100644 --- a/Tests/ComplexRelativePaths/CMakeLists.txt +++ b/Tests/ComplexRelativePaths/CMakeLists.txt @@ -124,12 +124,12 @@ IF (WIN32) ${Complex_SOURCE_DIR}/Library/dummy "${dir}/${file}" COPYONLY IMMEDIATE) - EXEC_PROGRAM("${CCOMMAND_COMMAND} write_regv \"${hkey}\" \"${dir}\"") + EXEC_PROGRAM(${CCOMMAND_COMMAND} ARGS "write_regv \"${hkey}\" \"${dir}\"") FIND_PATH(REGISTRY_TEST_PATH ${file} "[${hkey}]") - EXEC_PROGRAM("${CCOMMAND_COMMAND} delete_regv \"${hkey}\"") - EXEC_PROGRAM("${CCOMMAND_COMMAND} remove \"${dir}/${file}\"") + EXEC_PROGRAM(${CCOMMAND_COMMAND} ARGS "delete_regv \"${hkey}\"") + EXEC_PROGRAM(${CCOMMAND_COMMAND} ARGS "remove \"${dir}/${file}\"") ENDIF (NOT UNIX) ENDIF (WIN32) |