mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-02 21:13:13 +01:00
Do not use llvm-config on Windows.
LLVM 3.4 now also provides a llvm-config tool. The output is not yet parseable by our cmake module, so just don't use it.
This commit is contained in:
@@ -34,7 +34,7 @@ find_program(LLVM_CONFIG
|
||||
DOC "Path to llvm-config tool.")
|
||||
find_program(LLVM_CONFIG NAMES ${llvm_config_names})
|
||||
|
||||
if (NOT LLVM_CONFIG)
|
||||
if (WIN32 OR NOT LLVM_CONFIG)
|
||||
if (WIN32)
|
||||
# A bit of a sanity check:
|
||||
if( NOT EXISTS ${LLVM_ROOT_DIR}/include/llvm )
|
||||
|
||||
Reference in New Issue
Block a user