summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
Diffstat (limited to 'Tests')
-rw-r--r--Tests/Complex/Library/CMakeLists.txt4
-rw-r--r--Tests/ComplexOneConfig/Library/CMakeLists.txt4
-rw-r--r--Tests/ComplexRelativePaths/Library/CMakeLists.txt4
3 files changed, 6 insertions, 6 deletions
diff --git a/Tests/Complex/Library/CMakeLists.txt b/Tests/Complex/Library/CMakeLists.txt
index 250ec32..0f9c5eb 100644
--- a/Tests/Complex/Library/CMakeLists.txt
+++ b/Tests/Complex/Library/CMakeLists.txt
@@ -52,8 +52,8 @@ ADD_CUSTOM_COMMAND(COMMAND ${CREATE_FILE_EXE}
ARGS "${Complex_BINARY_DIR}/Library/postbuild.txt"
TARGET CMakeTestLibraryShared)
-ADD_CUSTOM_COMMAND(COMMAND ${CCOMMAND_COMMAND}
- ARGS copy
+ADD_CUSTOM_COMMAND(COMMAND ${CMAKE_COMMAND}
+ ARGS -E copy
"${Complex_BINARY_DIR}/Library/postbuild.txt"
"${Complex_BINARY_DIR}/Library/postbuild2.txt"
TARGET CMakeTestLibraryShared)
diff --git a/Tests/ComplexOneConfig/Library/CMakeLists.txt b/Tests/ComplexOneConfig/Library/CMakeLists.txt
index 250ec32..0f9c5eb 100644
--- a/Tests/ComplexOneConfig/Library/CMakeLists.txt
+++ b/Tests/ComplexOneConfig/Library/CMakeLists.txt
@@ -52,8 +52,8 @@ ADD_CUSTOM_COMMAND(COMMAND ${CREATE_FILE_EXE}
ARGS "${Complex_BINARY_DIR}/Library/postbuild.txt"
TARGET CMakeTestLibraryShared)
-ADD_CUSTOM_COMMAND(COMMAND ${CCOMMAND_COMMAND}
- ARGS copy
+ADD_CUSTOM_COMMAND(COMMAND ${CMAKE_COMMAND}
+ ARGS -E copy
"${Complex_BINARY_DIR}/Library/postbuild.txt"
"${Complex_BINARY_DIR}/Library/postbuild2.txt"
TARGET CMakeTestLibraryShared)
diff --git a/Tests/ComplexRelativePaths/Library/CMakeLists.txt b/Tests/ComplexRelativePaths/Library/CMakeLists.txt
index 250ec32..0f9c5eb 100644
--- a/Tests/ComplexRelativePaths/Library/CMakeLists.txt
+++ b/Tests/ComplexRelativePaths/Library/CMakeLists.txt
@@ -52,8 +52,8 @@ ADD_CUSTOM_COMMAND(COMMAND ${CREATE_FILE_EXE}
ARGS "${Complex_BINARY_DIR}/Library/postbuild.txt"
TARGET CMakeTestLibraryShared)
-ADD_CUSTOM_COMMAND(COMMAND ${CCOMMAND_COMMAND}
- ARGS copy
+ADD_CUSTOM_COMMAND(COMMAND ${CMAKE_COMMAND}
+ ARGS -E copy
"${Complex_BINARY_DIR}/Library/postbuild.txt"
"${Complex_BINARY_DIR}/Library/postbuild2.txt"
TARGET CMakeTestLibraryShared)