summaryrefslogtreecommitdiffstats
path: root/Tests/CustomCommand/GeneratedHeader
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CustomCommand/GeneratedHeader')
-rw-r--r--Tests/CustomCommand/GeneratedHeader/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CustomCommand/GeneratedHeader/CMakeLists.txt b/Tests/CustomCommand/GeneratedHeader/CMakeLists.txt
index 16d0ca4..2d47d87 100644
--- a/Tests/CustomCommand/GeneratedHeader/CMakeLists.txt
+++ b/Tests/CustomCommand/GeneratedHeader/CMakeLists.txt
@@ -9,5 +9,5 @@ ADD_CUSTOM_COMMAND(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/generated.h
${CMAKE_CURRENT_BINARY_DIR}/generated.h
)
-ADD_LIBRARY(GeneratedHeader main.cpp)
+ADD_LIBRARY(GeneratedHeader main.cpp ${CMAKE_CURRENT_BINARY_DIR}/generated.h)