File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -237,9 +237,9 @@ function(process_bc out_file)
237237 "DEPENDENCIES"
238238 ${ARGN} )
239239 add_custom_command ( OUTPUT ${ARG_LIB_TGT} .bc
240- COMMAND libclc::opt -o ${ARG_LIB_TGT} .bc
240+ COMMAND ${opt_exe} -o ${ARG_LIB_TGT} .bc
241241 ${ARG_IN_FILE}
242- DEPENDS libclc::opt ${ARG_IN_FILE} ${ARG_DEPENDENCIES}
242+ DEPENDS ${opt_target} ${ARG_IN_FILE} ${ARG_DEPENDENCIES}
243243 )
244244 add_custom_target ( ${ARG_LIB_TGT}
245245 ALL DEPENDS ${ARG_LIB_TGT} .bc
@@ -252,9 +252,9 @@ function(process_bc out_file)
252252
253253 # Add prepare target
254254 add_custom_command ( OUTPUT ${ARG_OUT_DIR} /${out_file}
255- COMMAND prepare_builtins -o ${ARG_OUT_DIR} /${out_file}
255+ COMMAND ${prepare_builtins_exe} -o ${ARG_OUT_DIR} /${out_file}
256256 ${builtins_opt_lib}
257- DEPENDS ${builtins_opt_lib} ${ARG_LIB_TGT} prepare_builtins )
257+ DEPENDS ${builtins_opt_lib} ${ARG_LIB_TGT} ${prepare_builtins_target} )
258258 add_custom_target ( prepare-${out_file} ALL
259259 DEPENDS ${ARG_OUT_DIR} /${out_file}
260260 )
You can’t perform that action at this time.
0 commit comments