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()