aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-08-30 16:38:07 -0700
committerChris Robinson <[email protected]>2017-08-30 16:38:07 -0700
commit88d76bf0692b17aa9350095f472e3d8ce5e86e32 (patch)
treeabe69c2a60246b7f0c9034fdc8df93ce60a86c5c
parent67f183f2065d8d8de3c345f88bc5dd76232ba1a0 (diff)
Depend on native-tools sources using IMPLICIT_DEPENDS
-rw-r--r--CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 29a51f31..e11b71a2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1135,7 +1135,9 @@ ADD_CUSTOM_COMMAND(OUTPUT "${BIN2H_COMMAND}" "${BSINCGEN_COMMAND}"
COMMAND ${CMAKE_COMMAND} -E remove "${BIN2H_COMMAND}" "${BSINCGEN_COMMAND}"
COMMAND ${CMAKE_COMMAND} --build . --config "Release"
WORKING_DIRECTORY "${NATIVE_BIN_DIR}"
- DEPENDS "${NATIVE_SRC_DIR}CMakeLists.txt" "${NATIVE_SRC_DIR}bin2h.c" "${NATIVE_SRC_DIR}bsincgen.c"
+ DEPENDS "${NATIVE_SRC_DIR}CMakeLists.txt"
+ IMPLICIT_DEPENDS C "${NATIVE_SRC_DIR}bin2h.c"
+ C "${NATIVE_SRC_DIR}bsincgen.c"
VERBATIM
)
ADD_CUSTOM_TARGET(native-tools