diff --git a/CMakeLists.txt b/CMakeLists.txt index 18d8f271e..9bdc72f25 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -65,7 +65,7 @@ if (NOT WIN32) find_package(CURL) endif() if (NOT C3_LLVM_VERSION STREQUAL "auto") - if (${C3_LLVM_VERSION} VERSION_LESS 15 OR ${C3_LLVM_VERSION} VERSION_GREATER 17) + if (${C3_LLVM_VERSION} VERSION_LESS 15 OR ${C3_LLVM_VERSION} VERSION_GREATER 18) message(FATAL_ERROR "LLVM ${C3_LLVM_VERSION} is not supported!") endif() endif()