diff options
-rw-r--r-- | Tests/CustomCommandWorkingDirectory/CMakeLists.txt | 2 | ||||
-rw-r--r-- | Tests/CustomCommandWorkingDirectory/working.c.in (renamed from Tests/CustomCommandWorkingDirectory/working.c) | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CustomCommandWorkingDirectory/CMakeLists.txt b/Tests/CustomCommandWorkingDirectory/CMakeLists.txt index 48437ec..4ddc87a 100644 --- a/Tests/CustomCommandWorkingDirectory/CMakeLists.txt +++ b/Tests/CustomCommandWorkingDirectory/CMakeLists.txt @@ -2,7 +2,7 @@ PROJECT(TestWorkingDir) ADD_CUSTOM_COMMAND( OUTPUT "${TestWorkingDir_BINARY_DIR}/working.c" - COMMAND "${CMAKE_COMMAND}" -E copy ./working.c "${TestWorkingDir_BINARY_DIR}/working.c" + COMMAND "${CMAKE_COMMAND}" -E copy ./working.c.in "${TestWorkingDir_BINARY_DIR}/working.c" WORKING_DIRECTORY "${TestWorkingDir_SOURCE_DIR}" COMMENT "custom command" ) diff --git a/Tests/CustomCommandWorkingDirectory/working.c b/Tests/CustomCommandWorkingDirectory/working.c.in index cf75bd1..cf75bd1 100644 --- a/Tests/CustomCommandWorkingDirectory/working.c +++ b/Tests/CustomCommandWorkingDirectory/working.c.in |