File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -551,7 +551,7 @@ if (WITH_SERIALIZATION)
551
551
add_custom_command (
552
552
OUTPUT "${fb_header} "
553
553
COMMAND flatbuffers::flatc --cpp --cpp-std C++17 --no-union-value-namespacing --keep-prefix --filename-suffix ".fbs" -o "${fb_dir} " "${fb_def} "
554
- DEPENDS "${fb_def} "
554
+ DEPENDS flatbuffers::flatc "${fb_def} "
555
555
VERBATIM
556
556
)
557
557
add_custom_target (generate_fb_header DEPENDS "${fb_header} " )
Original file line number Diff line number Diff line change @@ -280,14 +280,14 @@ foreach (i IN LISTS RUNTIME_CPP)
280
280
else ()
281
281
add_custom_command (OUTPUT "${LL} "
282
282
COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} ${CMAKE_C_COMPILER_LAUNCHER} $< TARGET_FILE:clang> ${clang_flags} -o "${LL} " "$<SHELL_PATH:${SOURCE} >"
283
- DEPENDS "${SOURCE} "
283
+ DEPENDS $< TARGET_NAME:clang > "${SOURCE} "
284
284
DEPFILE "${basename} .d"
285
285
VERBATIM )
286
286
endif ()
287
287
288
288
add_custom_command (OUTPUT "${BC} "
289
289
COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} $< TARGET_FILE:llvm-as> "${LL} " -o "${BC} "
290
- DEPENDS "${LL} "
290
+ DEPENDS $< TARGET_NAME:llvm-as > "${LL} "
291
291
VERBATIM )
292
292
293
293
add_custom_command (OUTPUT "${INITMOD} "
@@ -314,7 +314,7 @@ foreach (i IN LISTS RUNTIME_LL)
314
314
315
315
add_custom_command (OUTPUT "${BC} "
316
316
COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} $< TARGET_FILE:llvm-as> "${LL_TRANSFORMED} " -o "${BC} "
317
- DEPENDS "${LL_TRANSFORMED} "
317
+ DEPENDS $< TARGET_NAME:llvm-as > "${LL_TRANSFORMED} "
318
318
VERBATIM )
319
319
add_custom_command (OUTPUT "${INITMOD} "
320
320
COMMAND binary2cpp "halide_internal_initmod_${i} _ll" < "${BC} " > "${INITMOD} "
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ function(add_wasm_executable TARGET)
80
80
81
81
add_custom_command (OUTPUT "${TARGET} .wasm" "${TARGET} .js"
82
82
COMMAND ${EMCC} ${EMCC_FLAGS} ${INCLUDES} ${SRCS} ${DEPS} -o "${TARGET} .js"
83
- DEPENDS ${SRCS} ${DEPS}
83
+ DEPENDS ${EMCC} ${ SRCS} ${DEPS}
84
84
VERBATIM )
85
85
86
86
add_custom_target ("${TARGET} " ALL
You can’t perform that action at this time.
0 commit comments