summaryrefslogtreecommitdiff
path: root/CMake
diff options
context:
space:
mode:
authorRebecca N. Palmer <rebecca_palmer@zoho.com>2015-03-21 07:35:56 +0000
committerZhigang Gong <zhigang.gong@intel.com>2015-03-24 15:00:19 +0800
commit6cc60cc1d15f2fe65c156d242fcb70d6405bc0c9 (patch)
tree8b542752463b7b346a95b6e8a2675190ddbff89e /CMake
parentfea74f7a6cb740789c556f4c45e8d60126f18060 (diff)
FindLLVM: allow LLVM/Clang 3.6
As beignet now works with LLVM/Clang 3.6, accept this version when searching for llvm-config. Signed-off-by: Rebecca Palmer <rebecca_palmer@zoho.com> Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Diffstat (limited to 'CMake')
-rw-r--r--CMake/FindLLVM.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMake/FindLLVM.cmake b/CMake/FindLLVM.cmake
index 01bf1c72..a1483218 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-35 llvm-config-3.5 llvm-config-33 llvm-config-3.3 llvm-config-34 llvm-config-3.4 llvm-config
+ NAMES llvm-config-35 llvm-config-3.5 llvm-config-36 llvm-config-3.6 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-35 llvm-config-3.5 llvm-config-33 llvm-config-3.3 llvm-config-34 llvm-config-3.4 llvm-config
+ NAMES llvm-config-35 llvm-config-3.5 llvm-config-36 llvm-config-3.6 llvm-config-33 llvm-config-3.3 llvm-config-34 llvm-config-3.4 llvm-config
DOC "llvm-config executable")
endif (LLVM_INSTALL_DIR)