diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-02-10 15:30:20 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-02-10 15:30:20 (GMT) |
commit | aacd51034afef7918ceae38493b979e4010fa9c1 (patch) | |
tree | 2659982cef432294f110b2c2adf738eaf41988ac /Tests | |
parent | 6cccf0ab30fe93ee7ea2348c997ed4c404461bee (diff) | |
download | CMake-aacd51034afef7918ceae38493b979e4010fa9c1.zip CMake-aacd51034afef7918ceae38493b979e4010fa9c1.tar.gz CMake-aacd51034afef7918ceae38493b979e4010fa9c1.tar.bz2 |
ENH: fix test to work with in source build
Diffstat (limited to 'Tests')
-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 |