mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-21 19:20:50 +00:00
Add libxar to LLVM_SYSTEM_LIBS if available
This should fix PR27855. We have some terrible hacks in the CMake to add linking SYSTEM_LIBS to all tools. I think we need a better way to do this in the future. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@270605 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
84e27c2068
commit
0658e94613
@ -24,6 +24,9 @@ elseif( CMAKE_HOST_UNIX )
|
||||
if( UNIX AND NOT (BEOS OR HAIKU) )
|
||||
set(system_libs ${system_libs} m)
|
||||
endif()
|
||||
if(HAVE_LIBXAR)
|
||||
list(APPEND system_libs ${XAR_LIB})
|
||||
endif()
|
||||
endif( MSVC OR MINGW )
|
||||
|
||||
add_llvm_library(LLVMSupport
|
||||
|
Loading…
x
Reference in New Issue
Block a user