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:
kai
2013-08-24 16:13:38 +02:00
parent 6f5abdbe0e
commit c39a04f038

View File

@@ -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 )