From b74ab9e00b4628e0d8607c6ead8a674bedf280b9 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 10 Mar 2023 00:08:27 -0800 Subject: [PATCH] cmake: Raise max llvm major version to 16 Signed-off-by: Khem Raj --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e63bc83c..433153be 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -169,7 +169,7 @@ else() endif() set(MIN_LLVM_MAJOR 6) - set(MAX_LLVM_MAJOR 15) + set(MAX_LLVM_MAJOR 16) if((${LLVM_VERSION_MAJOR} VERSION_LESS ${MIN_LLVM_MAJOR}) OR (${LLVM_VERSION_MAJOR} VERSION_GREATER ${MAX_LLVM_MAJOR})) message(SEND_ERROR "Unsupported LLVM version found via ${LLVM_INCLUDE_DIRS}: ${LLVM_VERSION_MAJOR}") -- 2.40.1