summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-07-02 19:07:04 (GMT)
committerBrad King <brad.king@kitware.com>2014-07-07 12:58:08 (GMT)
commitde4f3e2c82a92a7dfc6305a09cc32d9d5c6e8c34 (patch)
treeacdc52fde3f303fae7e490584859c2ad2f5b4001
parent54bf5858cd4153f41a2414dbe8d1278268eccb58 (diff)
downloadCMake-de4f3e2c82a92a7dfc6305a09cc32d9d5c6e8c34.zip
CMake-de4f3e2c82a92a7dfc6305a09cc32d9d5c6e8c34.tar.gz
CMake-de4f3e2c82a92a7dfc6305a09cc32d9d5c6e8c34.tar.bz2
Tests: Fix broken dependency in ObjectLibrary test
The add_custom_command DEPENDS option needs a full path.
-rw-r--r--Tests/ObjectLibrary/A/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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
)