File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -268,15 +268,15 @@ function(runtime_register_target name)
268268 endif ()
269269 endforeach ()
270270
271- foreach (target IN LISTS SUB_COMPONENTS SUB_INSTALL_TARGETS )
272- set (${target } -${name} ${target } )
273- list (APPEND ${name} _extra_targets ${target } -${name} )
271+ foreach (component IN LISTS SUB_COMPONENTS)
272+ set (${component } -${name} ${component } )
273+ list (APPEND ${name} _extra_targets ${component } -${name} )
274274 endforeach ()
275275
276- foreach (target_name IN LISTS SUB_INSTALL_TARGETS)
277- set (${target_name } -${name} ${target_name } )
278- set (${target_name } -${name} -stripped ${target_name } -stripped)
279- list (APPEND ${name} _extra_targets ${target_name } -${name} ${target_name } -${name} -stripped)
276+ foreach (target IN LISTS SUB_INSTALL_TARGETS)
277+ set (${target } -${name} ${target } )
278+ set (${target } -${name} -stripped ${target } -stripped)
279+ list (APPEND ${name} _extra_targets ${target } -${name} ${target } -${name} -stripped)
280280 endforeach ()
281281
282282 foreach (component ${LLVM_RUNTIME_DISTRIBUTION_COMPONENTS} )
You can’t perform that action at this time.
0 commit comments