Skip to content

Commit

Permalink
Add missing dependencies for LLVM_LINK_LLVM_DYLIB
Browse files Browse the repository at this point in the history
This should fix the failures in the clangdev conda package and CppInterOp.
  • Loading branch information
vgvassilev committed Nov 13, 2023
1 parent 9479611 commit 9d10285
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/Interpreter/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,12 @@ if (LLVM_LINK_LLVM_DYLIB)
FrontendHLSL
LTO
)
# We will need to append the missing dependencies to pull in the right
# LLVM library dependencies.
list(APPEND link_libs
clangCodeGen
clangStaticAnalyzerCore
)
endif(LLVM_LINK_LLVM_DYLIB)

add_llvm_library(clangCppInterOp
Expand Down

0 comments on commit 9d10285

Please sign in to comment.