blob: 833117d9a3d21165a1818002047c4793e0ed6e67 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
- fix llvm version
--- CMakeLists.txt.orig 2024-06-13 17:20:31 UTC
+++ CMakeLists.txt
@@ -156,7 +156,7 @@ include(GNUInstallDirs)
#
# https://github.com/llvm/llvm-project/issues/58558
include(GNUInstallDirs)
-find_package(LLVM REQUIRED CONFIG)
+find_package(LLVM ${FREEBSD_LLVM_VERSION} REQUIRED CONFIG)
if(${LLVM_VERSION_MAJOR} LESS 13 OR ${LLVM_VERSION_MAJOR} GREATER 18)
message(FATAL_ERROR "LLVM >= 13 and <= 18 is required.")
|