From de4f3e2c82a92a7dfc6305a09cc32d9d5c6e8c34 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 2 Jul 2014 15:07:04 -0400 Subject: Tests: Fix broken dependency in ObjectLibrary test The add_custom_command DEPENDS option needs a full path. --- Tests/ObjectLibrary/A/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/ObjectLibrary/A/CMakeLists.txt b/Tests/ObjectLibrary/A/CMakeLists.txt index 1b40e8a..3fba9f8 100644 --- a/Tests/ObjectLibrary/A/CMakeLists.txt +++ b/Tests/ObjectLibrary/A/CMakeLists.txt @@ -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 ) -- cgit v0.12