From 88d76bf0692b17aa9350095f472e3d8ce5e86e32 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 30 Aug 2017 16:38:07 -0700 Subject: Depend on native-tools sources using IMPLICIT_DEPENDS --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') 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 -- cgit v1.2.3