From 9d1028561595aab76e7b3d374b1fcbe1460be624 Mon Sep 17 00:00:00 2001 From: Vassil Vassilev Date: Mon, 13 Nov 2023 22:26:06 +0200 Subject: [PATCH] Add missing dependencies for LLVM_LINK_LLVM_DYLIB This should fix the failures in the clangdev conda package and CppInterOp. --- lib/Interpreter/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/Interpreter/CMakeLists.txt b/lib/Interpreter/CMakeLists.txt index 5c0b27305..028ee567d 100644 --- a/lib/Interpreter/CMakeLists.txt +++ b/lib/Interpreter/CMakeLists.txt @@ -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