From d05cc991f566f28de5bdbc0a18fe1d3545d66f0e Mon Sep 17 00:00:00 2001 From: Christoffer Lerno Date: Tue, 4 Feb 2025 23:03:02 +0100 Subject: [PATCH] Support new LLVM, fix max version. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e4a27ed1e..83a0ccebb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -84,7 +84,7 @@ if (NOT WIN32) endif() if(C3_WITH_LLVM) if (NOT C3_LLVM_VERSION STREQUAL "auto") - if (${C3_LLVM_VERSION} VERSION_LESS 17 OR ${C3_LLVM_VERSION} VERSION_GREATER 20) + if (${C3_LLVM_VERSION} VERSION_LESS 17 OR ${C3_LLVM_VERSION} VERSION_GREATER 21) message(FATAL_ERROR "LLVM ${C3_LLVM_VERSION} is not supported!") endif() endif()