We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9722d6 commit 2b4f49bCopy full SHA for 2b4f49b
cmake/Modules/FindLLVM.cmake
@@ -22,7 +22,11 @@
22
# Note: The variable names were chosen in conformance with the offical CMake
23
# guidelines, see ${CMAKE_ROOT}/Modules/readme.txt.
24
25
-find_program(LLVM_CONFIG llvm-config ${LLVM_ROOT_DIR}/bin
+# Try suffixed versions to pick up the newest LLVM install available on Debian
26
+# derivatives.
27
+find_program(LLVM_CONFIG
28
+ NAMES llvm-config-3.3 llvm-config-3.2 llvm-config-3.1 llvm-config
29
+ PATHS ${LLVM_ROOT_DIR}/bin
30
DOC "Path to llvm-config tool.")
31
32
if (NOT LLVM_CONFIG)
0 commit comments