mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-08 14:50:10 -06:00
Tests: Fix broken dependency in ObjectLibrary test
The add_custom_command DEPENDS option needs a full path.
This commit is contained in:
@@ -6,7 +6,7 @@ add_definitions(-DA_DEF)
|
||||
|
||||
add_custom_command(
|
||||
OUTPUT a1.c
|
||||
DEPENDS a1.c.in
|
||||
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/a1.c.in
|
||||
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/a1.c.in
|
||||
${CMAKE_CURRENT_BINARY_DIR}/a1.c
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user