CI config refactoring (#389)

This commit is contained in:
Dmitry Atamanov
2022-02-08 15:05:38 +05:00
committed by GitHub
parent f3e326fcd9
commit 9f9f24c3cc
2 changed files with 5 additions and 5 deletions

View File

@@ -24,7 +24,7 @@ if(C3_USE_MIMALLOC)
endif()
if(NOT C3_LLVM_VERSION STREQUAL "auto")
if(${C3_LLVM_VERSION} VERSION_LESS 12 OR ${C3_LLVM_VERSION} VERSION_GREATER 14)
if(${C3_LLVM_VERSION} VERSION_LESS 12 OR ${C3_LLVM_VERSION} VERSION_GREATER 15)
message(FATAL_ERROR "LLVM ${C3_LLVM_VERSION} is not supported!")
endif()
find_package(LLVM ${C3_LLVM_VERSION} REQUIRED CONFIG)