mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
Revert "[CMake] Use find_dependency in LLVMConfig.cmake"
This reverts commit 247c4fc50720ed48db2464bbe59839eedbe16794 as it broke the runtime build.
This commit is contained in:
parent
b039eded77
commit
eb228cdeb6
@ -52,16 +52,14 @@ set(LLVM_ENABLE_THREADS @LLVM_ENABLE_THREADS@)
|
||||
|
||||
set(LLVM_ENABLE_UNWIND_TABLES @LLVM_ENABLE_UNWIND_TABLES@)
|
||||
|
||||
include(CMakeFindDependencyMacro)
|
||||
|
||||
set(LLVM_ENABLE_ZLIB @LLVM_ENABLE_ZLIB@)
|
||||
if(LLVM_ENABLE_ZLIB)
|
||||
find_dependency(ZLIB)
|
||||
find_package(ZLIB)
|
||||
endif()
|
||||
|
||||
set(LLVM_ENABLE_LIBXML2 @LLVM_ENABLE_LIBXML2@)
|
||||
if(LLVM_ENABLE_LIBXML2)
|
||||
find_dependency(LibXml2)
|
||||
find_package(LibXml2)
|
||||
endif()
|
||||
|
||||
set(LLVM_WITH_Z3 @LLVM_WITH_Z3@)
|
||||
|
Loading…
Reference in New Issue
Block a user