File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -91,14 +91,8 @@ if (lib_llvm_shared)
91
91
set (lib_llvm "${lib_llvm_shared} " )
92
92
else ()
93
93
message (STATUS "Can't find LLVM shared library, falling back to static linking LLVMSupport" )
94
- find_library (lib_llvm_static LLVMSupport HINTS ${LLVM_LIBRARY_DIRS} )
95
- set (lib_llvm "${lib_llvm_static} " )
94
+ llvm_map_components_to_libnames (lib_llvm support )
96
95
97
- get_property (LLVMSupportDeps GLOBAL PROPERTY LLVMBUILD_LIB_DEPS_LLVMSupport )
98
- foreach (dependency ${LLVMSupportDeps} )
99
- find_library (lib ${dependency} HINTS ${LLVM_LIBRARY_DIRS} )
100
- list (APPEND llvm_deps "${lib} " )
101
- endforeach ()
102
96
if (LLVM_ENABLE_TERMINFO AND NOT WIN32 )
103
97
find_library (TERMINFO_LIB NAMES terminfo tinfo curses ncurses ncursesw )
104
98
if (TERMINFO_LIB )
You can’t perform that action at this time.
0 commit comments