File tree Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Original file line number Diff line number Diff line change @@ -376,32 +376,6 @@ function(swift_common_llvm_config target)
376
376
if ((SWIFT_BUILT_STANDALONE OR SOURCEKIT_BUILT_STANDALONE ) AND NOT "${CMAKE_CFG_INTDIR} " STREQUAL "." )
377
377
llvm_map_components_to_libnames (libnames ${link_components} )
378
378
379
- # Collect dependencies.
380
- set (new_libnames )
381
- foreach (lib ${libnames} )
382
- list (APPEND new_libnames "${lib} " )
383
- get_target_property (extra_libraries "${lib} " INTERFACE_LINK_LIBRARIES )
384
- foreach (dep ${extra_libraries} )
385
- if (NOT "${new_libnames} " STREQUAL "" )
386
- list (REMOVE_ITEM new_libnames "${dep} " )
387
- endif ()
388
- list (APPEND new_libnames "${dep} " )
389
- endforeach ()
390
- endforeach ()
391
- set (libnames "${new_libnames} " )
392
-
393
- # Translate library names into full path names.
394
- set (new_libnames )
395
- foreach (dep ${libnames} )
396
- if ("${dep} " MATCHES "^LLVM" )
397
- list (APPEND new_libnames
398
- "${LLVM_LIBRARY_OUTPUT_INTDIR} /lib${dep} .a" )
399
- else ()
400
- list (APPEND new_libnames "${dep} " )
401
- endif ()
402
- endforeach ()
403
- set (libnames "${new_libnames} " )
404
-
405
379
get_target_property (target_type "${target} " TYPE )
406
380
if ("${target_type} " STREQUAL "STATIC_LIBRARY" )
407
381
target_link_libraries ("${target} " INTERFACE ${libnames} )
You can’t perform that action at this time.
0 commit comments