- 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.")