Skip to content

Commit fc7b5af

Browse files
authored
Add missing dependencies for LLVM_LINK_LLVM_DYLIB
This should fix the failures in the clangdev conda package and CppInterOp.
1 parent 9479611 commit fc7b5af

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/Interpreter/CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,12 @@ if (LLVM_LINK_LLVM_DYLIB)
7676
FrontendHLSL
7777
LTO
7878
)
79+
# We will need to append the missing dependencies to pull in the right
80+
# LLVM library dependencies.
81+
list(APPEND link_libs
82+
clangCodeGen
83+
clangStaticAnalyzerCore
84+
)
7985
endif(LLVM_LINK_LLVM_DYLIB)
8086

8187
add_llvm_library(clangCppInterOp

0 commit comments

Comments
 (0)