From f9bcdd00d246154d1e160913aa5bb0f7e1a55c9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Tue, 14 Jul 2015 16:07:31 +0200 Subject: [PATCH] Default LLVM_DIR cmake variable for Windows. --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6cd9e338f..271f3ed65 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -363,6 +363,9 @@ else() endif() if (EVMJIT) + if (CMAKE_SYSTEM_NAME STREQUAL "Windows" AND NOT DEFINED LLVM_DIR) + set(LLVM_DIR "${CMAKE_SOURCE_DIR}/extdep/install/windows/x64/share/llvm/cmake") + endif() set(EVMJIT_CPP TRUE) # include CPP-JIT connector add_subdirectory(evmjit) endif()