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.
This commit is contained in:
kai
2013-06-15 16:12:09 +02:00
parent 981a6af17e
commit 32cf5318a4

View File

@@ -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