Skip to content

Commit

Permalink
issue #169 Enable MIR on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
dibyendumajumdar committed Oct 24, 2020
1 parent f6378c9 commit d0b3ed9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,12 @@ option(RAVICOMP "Controls whether to link in RaviComp" OFF)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake")

# By default on non-Windows platforms we enable MIR JIT
if (NOT WIN32
AND NOT LLVM_JIT
if (NOT LLVM_JIT
AND NOT NO_JIT)
set(MIR_JIT ON)
endif ()

if (MIR_JIT)
if (MSVC OR WIN32)
message(FATAL_ERROR "MIR_JIT is not supported when using MSVC and/or WIN32")
endif ()
set(LLVM_JIT OFF)
set(STATIC_BUILD OFF) # Because we need to expose the symbols in the library
endif ()
Expand Down

0 comments on commit d0b3ed9

Please sign in to comment.