Skip to content

Commit c86cdcb

Browse files
authored
Update CMakeLists.txt
1 parent b555cba commit c86cdcb

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

lib/Interpreter/CMakeLists.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ else()
118118
clangStaticAnalyzerCore
119119
)
120120
endif(LLVM_LINK_LLVM_DYLIB)
121+
if(NOT WIN32)
121122
llvm_add_library(clangCppInterOp
122123
DISABLE_LLVM_LINK_LLVM_DYLIB
123124
CppInterOp.cpp
@@ -126,6 +127,14 @@ else()
126127
LINK_LIBS
127128
${link_libs}
128129
)
130+
else()
131+
llvm_add_library(clangCppInterOp
132+
DISABLE_LLVM_LINK_LLVM_DYLIB
133+
CppInterOp.cpp
134+
CXCppInterOp.cpp
135+
${DLM}
136+
)
137+
endif()
129138
endif()
130139

131140
string(REPLACE ";" "\;" _VER CPPINTEROP_VERSION)

0 commit comments

Comments
 (0)