Fixed building with LLVM 18 (#251)

This commit is contained in:
Bartek Kryza
2024-03-07 23:10:46 +01:00
parent 97b094f77e
commit 06ada3af55
7 changed files with 84 additions and 11 deletions

View File

@@ -1,5 +1,9 @@
message(STATUS "Checking for LLVM and Clang...")
if(LLVM_VERSION STREQUAL "18")
set(LLVM_VERSION "18.1")
endif()
# If user provided a path to llvm-config executable use it to detect
# LLVM Version and appropriate CMake module path
if(NOT "${LLVM_CONFIG_PATH}" STREQUAL "")