Commit 4dba8251 authored by Kevin Funk's avatar Kevin Funk
Browse files

cmake: Detect Clang 7 and 8

Note: Looks like like recent versions of llvm-config no longer have a minor
version suffix. Examples:
- llvm-config-8
- llvm-config-7
- llvm-config-6.0
- ...
parent 7ee0e11d
......@@ -29,7 +29,7 @@
#=============================================================================
set(KNOWN_VERSIONS 6.0 5.0 4.0 3.9 3.8)
set(KNOWN_VERSIONS 8 7 6.0 5.0 4.0 3.9 3.8)
foreach(version ${KNOWN_VERSIONS})
if (LLVM_DIR OR (DEFINED Clang_FIND_VERSION AND Clang_FIND_VERSION VERSION_GREATER version))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment