File tree Expand file tree Collapse file tree 5 files changed +23
-5
lines changed Expand file tree Collapse file tree 5 files changed +23
-5
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ vcpkg_from_github(
1818 0010-fix-libffi.patch
1919 0011-fix-libxml2.patch
2020 0020-fix-FindZ3.cmake.patch
21+ 0021-fix-find_dependency.patch
2122 0022-llvm-config-bin-path .patch
2223 0023-clang-sys-include -dir-path .patch
2324 0024-remove-elf_relocation-checks.patch
Original file line number Diff line number Diff line change 11{
22 "name" : " llvm-13" ,
33 "version" : " 13.0.1" ,
4- "port-version" : 3 ,
4+ "port-version" : 4 ,
55 "description" : " The LLVM Compiler Infrastructure." ,
66 "homepage" : " https://llvm.org" ,
77 "supports" : " !uwp & !(arm & windows)" ,
Original file line number Diff line number Diff line change 11diff --git a/llvm/cmake/modules/LLVMConfig.cmake.in b/llvm/cmake/modules/LLVMConfig.cmake.in
2- index e1540ff316f7..9c8239094aca 100644
2+ index e1540ff316f7..8d7737d07218 100644
33--- a/llvm/cmake/modules/LLVMConfig.cmake.in
44+++ b/llvm/cmake/modules/LLVMConfig.cmake.in
5- @@ -67,18 +67,22 @@ set(LLVM_ENABLE_THREADS @LLVM_ENABLE_THREADS@)
5+ @@ -53,32 +53,35 @@ set(LLVM_ENABLE_EH @LLVM_ENABLE_EH@)
6+
7+ set(LLVM_ENABLE_FFI @LLVM_ENABLE_FFI@)
8+ if(LLVM_ENABLE_FFI)
9+ - find_package(FFI)
10+ + find_dependency(FFI)
11+ endif()
12+
13+ set(LLVM_ENABLE_RTTI @LLVM_ENABLE_RTTI@)
14+
15+ set(LLVM_ENABLE_TERMINFO @LLVM_ENABLE_TERMINFO@)
16+ if(LLVM_ENABLE_TERMINFO)
17+ - find_package(Terminfo)
18+ + find_dependency(Terminfo)
19+ endif()
20+
21+ set(LLVM_ENABLE_THREADS @LLVM_ENABLE_THREADS@)
622
723 set(LLVM_ENABLE_UNWIND_TABLES @LLVM_ENABLE_UNWIND_TABLES@)
824
925+ include(CMakeFindDependencyMacro)
1026 set(LLVM_ENABLE_ZLIB @LLVM_ENABLE_ZLIB@)
1127 if(LLVM_ENABLE_ZLIB)
1228- set(ZLIB_ROOT @ZLIB_ROOT@)
29+ - find_package(ZLIB)
1330+ find_dependency(ZLIB)
14- find_package(ZLIB)
1531 endif()
1632
1733 set(LLVM_ENABLE_LIBXML2 @LLVM_ENABLE_LIBXML2@)
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ vcpkg_from_github(
1616 0010-fix-libffi.patch
1717 0011-fix-install -bolt.patch
1818 0020-fix-FindZ3.cmake.patch
19+ 0021-fix-find_dependency.patch
1920 0023-clang-sys-include -dir-path .patch
2021 0024-remove-elf_relocation-checks.patch
2122)
Original file line number Diff line number Diff line change 11{
22 "name" : " llvm-14" ,
33 "version" : " 14.0.3" ,
4- "port-version" : 1 ,
4+ "port-version" : 2 ,
55 "description" : " The LLVM Compiler Infrastructure." ,
66 "homepage" : " https://llvm.org" ,
77 "supports" : " !uwp & !(arm & windows)" ,
You can’t perform that action at this time.
0 commit comments