From c39a04f038554d131a0506d23eddae0c051e904b Mon Sep 17 00:00:00 2001 From: kai Date: Sat, 24 Aug 2013 16:13:38 +0200 Subject: [PATCH] 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. --- cmake/Modules/FindLLVM.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Modules/FindLLVM.cmake b/cmake/Modules/FindLLVM.cmake index 107e5494..9cc0e380 100644 --- a/cmake/Modules/FindLLVM.cmake +++ b/cmake/Modules/FindLLVM.cmake @@ -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 )