File tree 1 file changed +0
-18
lines changed
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)
21
21
set_property (TARGET "${test_dirname} " APPEND_STRING PROPERTY LINK_FLAGS " ${_lto_flag_out} " )
22
22
endif ()
23
23
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
-
42
24
if ("${CMAKE_SYSTEM_NAME} " STREQUAL "Darwin" )
43
25
# Add an @rpath to the swift library directory
44
26
# and one to the OS dylibs we require but
You can’t perform that action at this time.
0 commit comments