mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 07:32:44 +00:00
Find local llvm-config first
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.
This commit is contained in:
parent
65497121f4
commit
6e55f61581
@ -8,7 +8,7 @@
|
||||
# LLVM_LIBDIRS
|
||||
|
||||
find_program(LLVM_CONFIG_EXE
|
||||
NAMES llvm-config-6.0 llvm-config
|
||||
NAMES llvm-config llvm-config-6.0
|
||||
PATHS
|
||||
"/mingw64/bin"
|
||||
"/c/msys64/mingw64/bin"
|
||||
|
Loading…
Reference in New Issue
Block a user