mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-17 17:06:59 +00:00
f74bed27b4
Summary: Previously were in support. Since many many things depend on support, were all forced to also depend on libxml2, which we only want in a few cases. This puts all the libxml2 deps in a separate lib to be used only in a few places. Reviewers: ruiu, thakis, rnk Subscribers: mgorny, hiraditya, llvm-commits Differential Revision: https://reviews.llvm.org/D35819 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309070 91177308-0d34-0410-b5e6-96231b3b80d8
19 lines
441 B
CMake
19 lines
441 B
CMake
set(system_libs)
|
|
if( CMAKE_HOST_UNIX )
|
|
if( LLVM_LIBXML2_ENABLED )
|
|
set(system_libs ${system_libs} ${LIBXML2_LIBS})
|
|
endif()
|
|
endif()
|
|
|
|
add_llvm_library(LLVMWindowsManifest
|
|
WindowsManifestMerger.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${LLVM_MAIN_INCLUDE_DIR}/llvm/WindowsManifest
|
|
${Backtrace_INCLUDE_DIRS}
|
|
|
|
LINK_LIBS ${system_libs}
|
|
)
|
|
|
|
set_property(TARGET LLVMWindowsManifest PROPERTY LLVM_SYSTEM_LIBS "${system_libs}")
|