Deprecate *-add settings, use without -add. Updated CI.

This commit is contained in:
Christoffer Lerno
2024-07-26 02:33:17 +02:00
parent 623dd9f3b3
commit 73b15c691d
9 changed files with 69 additions and 36 deletions

View File

@@ -81,7 +81,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 19)
if (${C3_LLVM_VERSION} VERSION_LESS 17 OR ${C3_LLVM_VERSION} VERSION_GREATER 20)
message(FATAL_ERROR "LLVM ${C3_LLVM_VERSION} is not supported!")
endif()
endif()