diff --git a/framaCIRGen_src/CMakeLists.txt b/framaCIRGen_src/CMakeLists.txt index 847e961dca4a8e1548399215bcfc4a44e5294b30..b4e9aa3216449236d63c66b00350d9d9127e7354 100644 --- a/framaCIRGen_src/CMakeLists.txt +++ b/framaCIRGen_src/CMakeLists.txt @@ -29,7 +29,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_EXTENSIONS OFF) find_program(LLVM_CONFIG - NAMES llvm-config llvm-config-15 llvm-config-14 + NAMES $ENV{OPAM_LLVM_CONFIG} llvm-config llvm-config-15 llvm-config-14 llvm-config-13 llvm-config-12 llvm-config-11 REQUIRED)