mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 21:00:17 -06:00
Tests/CustomCommand: fix custom command line to actually make its output
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user