From 32cf5318a430fe86d555e3a1df94c0cd3b36b763 Mon Sep 17 00:00:00 2001 From: kai Date: Sat, 15 Jun 2013 16:12:09 +0200 Subject: [PATCH] Add llvm-config-3.4 to list of llvm-config names. The LLVM 3.4 development ccycle has started. We should be prepared for a distribution which starts to use this name. --- cmake/Modules/FindLLVM.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Modules/FindLLVM.cmake b/cmake/Modules/FindLLVM.cmake index 72b389fb..107e5494 100644 --- a/cmake/Modules/FindLLVM.cmake +++ b/cmake/Modules/FindLLVM.cmake @@ -27,7 +27,7 @@ # We also want an user-specified LLVM_ROOT_DIR to take precedence over the # system default locations such as /usr/local/bin. Executing find_program() # multiples times is the approach recommended in the docs. -set(llvm_config_names llvm-config-3.3 llvm-config-3.2 llvm-config-3.1 llvm-config) +set(llvm_config_names llvm-config-3.4 llvm-config-3.3 llvm-config-3.2 llvm-config-3.1 llvm-config) find_program(LLVM_CONFIG NAMES ${llvm_config_names} PATHS ${LLVM_ROOT_DIR}/bin NO_DEFAULT_PATH