mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
74ad3be7a0
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 llvm-svn: 309070
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}")
|