Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
mcbarton authored Jan 25, 2025
1 parent c0cc3a6 commit cd0c392
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions lib/Interpreter/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,18 @@ if(EMSCRIPTEN)
)
else()
IF(WIN32)
set(LLVM_LINK_COMPONENTS "")
llvm_map_components_to_libnames(
llvm_libs
${LLVM_TARGETS_TO_BUILD}
orcjit
support
core
irreader
codegen
mc
mcparser
option
)
else()
set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
Expand Down Expand Up @@ -140,14 +151,15 @@ else()
${link_libs}
)
else()
llvm_add_library(clangCppInterOp
DISABLE_LLVM_LINK_LLVM_DYLIB
add_library(clangCppInterOp
SHARED
CppInterOp.cpp
CXCppInterOp.cpp
${DLM}
LINK_LIBS
${link_libs}
)
)
target_link_libraries(clangCppInterOp
PRIVATE ${llvm_libs}
)
endif()
endif()

Expand Down

0 comments on commit cd0c392

Please sign in to comment.