From fbe246a106b12eabe044236e8e56215b674d506a Mon Sep 17 00:00:00 2001 From: Vassil Vassilev Date: Tue, 2 Jan 2024 12:07:28 +0000 Subject: [PATCH] [cmake] Complain if we use unsupported clang --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ede45d7ec..2496c559d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,10 +20,10 @@ if( CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR ) ## Define clad supported version of clang and llvm - set(CLANG_MIN_SUPPORTED 5.0) + set(CLANG_MIN_SUPPORTED 7.0) set(CLANG_MAX_SUPPORTED "17.0.x") set(CLANG_VERSION_UPPER_BOUND 17.1.0) - set(LLVM_MIN_SUPPORTED 5.0) + set(LLVM_MIN_SUPPORTED 7.0) set(LLVM_MAX_SUPPORTED "17.0.x") set(LLVM_VERSION_UPPER_BOUND 17.1.0)