mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-26 04:09:35 +03: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