CMakeLists.txt: set LLVM minimal version to 14

This commit is contained in:
BratishkaErik 2022-07-10 18:03:22 +06:00 committed by Andrew Kelley
parent b88151e0e1
commit b9ed072278

View File

@ -104,9 +104,9 @@ else()
set(ZIG_USE_LLVM_CONFIG OFF CACHE BOOL "use llvm-config to find LLVM libraries")
endif()
find_package(llvm 13)
find_package(clang 13)
find_package(lld 13)
find_package(llvm 14)
find_package(clang 14)
find_package(lld 14)
if(ZIG_STATIC_ZLIB)
list(REMOVE_ITEM LLVM_LIBRARIES "-lz")