diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index ca1fed80..369049a6 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -20,7 +20,7 @@ message(STATUS "${PROJECT_NAME}: ${PROJECT_VERSION}") option(OMVLL_FORCE_LOG_DEBUG "Force the log debug output" OFF) option(OMVLL_PY_STANDALONE "Build OMVLL as a standalone Python module" OFF) -find_package(LLVM 14 REQUIRED CONFIG NO_DEFAULT_PATH) +find_package(LLVM 16 REQUIRED CONFIG NO_DEFAULT_PATH) set(PYTHON_VERSION "3" CACHE STRING "Python version") find_package(Python3 COMPONENTS Development Interpreter) @@ -33,8 +33,8 @@ message(STATUS "Python lib: ${Python3_LIBRARIES}") message(STATUS "Python include: ${Python3_INCLUDE_DIRS}") message(STATUS "Python interpreter: ${Python3_EXECUTABLE}") -if(NOT "14" VERSION_EQUAL "${LLVM_VERSION_MAJOR}") - message(FATAL_ERROR "Found LLVM ${LLVM_VERSION_MAJOR}, but need LLVM 14") +if(NOT "16" VERSION_EQUAL "${LLVM_VERSION_MAJOR}") + message(FATAL_ERROR "Found LLVM ${LLVM_VERSION_MAJOR}, but need LLVM 16") endif() message(STATUS "Found LLVM ${LLVM_PACKAGE_VERSION}")