| author | |
| committer | |
| log | 6e55f615813b0565a5e8e07941dedc7b2034cd26 |
| tree | dab5d69f67d6f0cea9144c13c8c5af8676aeab86 |
| parent | 65497121f4d82ef16c6ef09dc54a4643d3c47bb3 |
Distro's llvm usually have a 6.0 suffix.Any custom llvm build
names the binary as llvm-config.Keeping 6.0 variant first causes
the distro's llvm to be compiled in place of a custom one even if
given using CMAKE_PREFIX_PATH.1 files changed, 1 insertions(+), 1 deletions(-)
cmake/Findllvm.cmake+1-1| ... | @@ -8,7 +8,7 @@ | ... | @@ -8,7 +8,7 @@ |
| 8 | # LLVM_LIBDIRS | 8 | # LLVM_LIBDIRS |
| 9 | 9 | ||
| 10 | find_program(LLVM_CONFIG_EXE | 10 | find_program(LLVM_CONFIG_EXE |
| 11 | NAMES llvm-config-6.0 llvm-config | 11 | NAMES llvm-config llvm-config-6.0 |
| 12 | PATHS | 12 | PATHS |
| 13 | "/mingw64/bin" | 13 | "/mingw64/bin" |
| 14 | "/c/msys64/mingw64/bin" | 14 | "/c/msys64/mingw64/bin" |