mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-07 01:38:26 +00:00
[CMake] BUILD_SHARED_LIBS: Fixup for r202261: Give PULIC to system_libs in LLVMSupport.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202263 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2d0eef4c7d
commit
18f2091b7b
@ -142,5 +142,13 @@ if( NOT MSVC )
|
||||
endif()
|
||||
endif( MINGW )
|
||||
endif( NOT MSVC )
|
||||
target_link_libraries(LLVMSupport ${cmake_2_8_12_INTERFACE} ${system_libs})
|
||||
|
||||
|
||||
if(POLICY CMP0022 AND BUILD_SHARED_LIBS)
|
||||
# FIXME: Should this be really PUBLIC?
|
||||
target_link_libraries(LLVMSupport PUBLIC ${system_libs})
|
||||
else()
|
||||
target_link_libraries(LLVMSupport ${cmake_2_8_12_INTERFACE} ${system_libs})
|
||||
endif()
|
||||
|
||||
set_property(TARGET LLVMSupport PROPERTY LLVM_SYSTEM_LIBS "${system_libs}")
|
||||
|
Loading…
x
Reference in New Issue
Block a user