projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9114d6c
)
Revert "[CMake] Use find_dependency in LLVMConfig.cmake"
author
Petr Hosek
<phosek@google.com>
Tue, 22 Sep 2020 07:24:15 +0000
(
00:24
-0700)
committer
Petr Hosek
<phosek@google.com>
Tue, 22 Sep 2020 07:24:15 +0000
(
00:24
-0700)
This reverts commit
247c4fc50720ed48db2464bbe59839eedbe16794
as it
broke the runtime build.
llvm/cmake/modules/LLVMConfig.cmake.in
patch
|
blob
|
history
diff --git
a/llvm/cmake/modules/LLVMConfig.cmake.in
b/llvm/cmake/modules/LLVMConfig.cmake.in
index d4c65ef735059a0aefc50693f2eb2b42662df546..d8a511b69fdd6f29fdcfdc68e2b8bbce0ef02a73 100644
(file)
--- a/
llvm/cmake/modules/LLVMConfig.cmake.in
+++ b/
llvm/cmake/modules/LLVMConfig.cmake.in
@@
-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@)