Skip to content

Commit 150a2c2

Browse files
committed
Update CMakeLists.txt
1 parent ec6ae86 commit 150a2c2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/Interpreter/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ if(EMSCRIPTEN)
22
set_property(GLOBAL PROPERTY TARGET_SUPPORTS_SHARED_LIBS TRUE)
33
set(LLVM_LINK_COMPONENTS "")
44
else()
5+
if(NOT WIN32)
56
set(LLVM_LINK_COMPONENTS
67
${LLVM_TARGETS_TO_BUILD}
78
BinaryFormat
@@ -10,6 +11,9 @@ else()
1011
OrcJit
1112
Support
1213
)
14+
else()
15+
set(LLVM_LINK_COMPONENTS "")
16+
endif()
1317
# FIXME: Investigate why this needs to be conditionally included.
1418
if ("LLVMFrontendDriver" IN_LIST LLVM_AVAILABLE_LIBS)
1519
list(APPEND LLVM_LINK_COMPONENTS FrontendDriver)

0 commit comments

Comments
 (0)