File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -21,24 +21,6 @@ function(add_swift_unittest test_dirname)
2121 set_property (TARGET "${test_dirname} " APPEND_STRING PROPERTY LINK_FLAGS " ${_lto_flag_out} " )
2222 endif ()
2323
24- if (SWIFT_BUILT_STANDALONE AND NOT "${CMAKE_CFG_INTDIR} " STREQUAL "." )
25- # Replace target references with full paths, so that we use LLVM's
26- # build configuration rather than Swift's.
27- get_target_property (libnames ${test_dirname} LINK_LIBRARIES )
28-
29- set (new_libnames)
30- foreach (dep ${libnames} )
31- if ("${dep} " MATCHES "^(LLVM|Clang|gtest)" AND NOT "${CMAKE_SYSTEM_NAME} " STREQUAL "Windows" )
32- list (APPEND new_libnames "${LLVM_LIBRARY_OUTPUT_INTDIR} /lib${dep} .a" )
33- else ()
34- list (APPEND new_libnames "${dep} " )
35- endif ()
36- endforeach ()
37-
38- set_property (TARGET ${test_dirname} PROPERTY LINK_LIBRARIES ${new_libnames} )
39- swift_common_llvm_config(${test_dirname} support)
40- endif ()
41-
4224 if ("${CMAKE_SYSTEM_NAME} " STREQUAL "Darwin" )
4325 # Add an @rpath to the swift library directory
4426 # and one to the OS dylibs we require but
You can’t perform that action at this time.
0 commit comments