diff options
author | Andreas Beckmann <anbe@debian.org> | 2015-02-07 04:45:32 +0100 |
---|---|---|
committer | Zhigang Gong <zhigang.gong@intel.com> | 2015-02-11 12:56:56 +0800 |
commit | 1360f97238f3f8a9122abf581433de510804ace1 (patch) | |
tree | 34f86e023a4f6acd3e6fca693b0f1834f6f8f2a7 /CMake | |
parent | 8df73eb2e39ad641bf1c70ef2108b02a935f0661 (diff) |
prefer newer llvm versions over 3.3
v2:
LLVM 3.3 is better than 3.4, switch the order of 3.4 and 3.3.
Signed-off-by: Zhigang Gong <zhigang.gong@intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Diffstat (limited to 'CMake')
-rw-r--r-- | CMake/FindLLVM.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMake/FindLLVM.cmake b/CMake/FindLLVM.cmake index 5fb996d6..e214437a 100644 --- a/CMake/FindLLVM.cmake +++ b/CMake/FindLLVM.cmake @@ -8,12 +8,12 @@ # LLVM_FOUND - True if llvm found. if (LLVM_INSTALL_DIR) find_program(LLVM_CONFIG_EXECUTABLE - NAMES llvm-config-33 llvm-config-3.3 llvm-config-35 llvm-config-3.5 llvm-config-34 llvm-config-3.4 llvm-config + NAMES llvm-config-35 llvm-config-3.5 llvm-config-33 llvm-config-3.3 llvm-config-34 llvm-config-3.4 llvm-config DOC "llvm-config executable" PATHS ${LLVM_INSTALL_DIR} NO_DEFAULT_PATH) else (LLVM_INSTALL_DIR) find_program(LLVM_CONFIG_EXECUTABLE - NAMES llvm-config-33 llvm-config-3.3 llvm-config-35 llvm-config-3.5 llvm-config-34 llvm-config-3.4 llvm-config + NAMES llvm-config-35 llvm-config-3.5 llvm-config-33 llvm-config-3.3 llvm-config-34 llvm-config-3.4 llvm-config DOC "llvm-config executable") endif (LLVM_INSTALL_DIR) |