File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -14,17 +14,9 @@ foreach (lib ${clang_libs})
14
14
list (APPEND _OBJECTS $< TARGET_OBJECTS:obj.${lib} > )
15
15
endif ()
16
16
list (APPEND _DEPS $< TARGET_PROPERTY:${lib} ,INTERFACE_LINK_LIBRARIES> )
17
- get_target_property (interface ${lib} LINK_LIBRARIES )
18
- if (interface )
19
- list (APPEND _DEPS ${interface} )
20
- endif ()
17
+ list (APPEND _DEPS $< TARGET_PROPERTY:${lib} ,LINK_LIBRARIES> )
21
18
endforeach ()
22
19
23
- # clang libraries are redundant since we are linking all the individual
24
- # object files into libclang-cpp.so, so filter them out from _DEPS.
25
- # This avoids problems with LLVM global data when building with
26
- # BUILD_SHARED_LIBS=ON
27
- list (FILTER _DEPS EXCLUDE REGEX "^clang" )
28
20
if (CLANG_LINK_CLANG_DYLIB )
29
21
set (INSTALL_WITH_TOOLCHAIN INSTALL_WITH_TOOLCHAIN )
30
22
endif ()
You can’t perform that action at this time.
0 commit comments