diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2020-01-16 14:38:32 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2020-01-16 18:56:30 (GMT) |
commit | e23475dc730b0ced1ba36b0ae091afcf27b06435 (patch) | |
tree | 76427c63c57391315c5f64f052b9a6332814a463 /Tests/CustomCommand | |
parent | db4780d58408aa592fdfd4524ebdea83c4c8e898 (diff) | |
download | CMake-e23475dc730b0ced1ba36b0ae091afcf27b06435.zip CMake-e23475dc730b0ced1ba36b0ae091afcf27b06435.tar.gz CMake-e23475dc730b0ced1ba36b0ae091afcf27b06435.tar.bz2 |
Tests/CustomCommand: fix custom command line to actually make its output
Diffstat (limited to 'Tests/CustomCommand')
-rw-r--r-- | Tests/CustomCommand/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CustomCommand/CMakeLists.txt b/Tests/CustomCommand/CMakeLists.txt index d43cdba..b784bc0 100644 --- a/Tests/CustomCommand/CMakeLists.txt +++ b/Tests/CustomCommand/CMakeLists.txt @@ -553,7 +553,7 @@ add_custom_target(depends_on_path ALL DEPENDS "depends_on_path.txt") add_custom_command( OUTPUT "depends_on_in_source_path.txt" - COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_CURRENT_SOURCE_DIR}/main.cxx" in_source_path.txt + COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_CURRENT_SOURCE_DIR}/main.cxx" depends_on_in_source_path.txt DEPENDS main.cxx ) |