[llvm] cd1c58a - [CAS] Fix a link error introduced by CAS (#153235)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 12 11:50:34 PDT 2025
Author: Shilei Tian
Date: 2025-08-12T20:50:31+02:00
New Revision: cd1c58ae5a9855470fa2cafd357793832b468a8a
URL: https://github.com/llvm/llvm-project/commit/cd1c58ae5a9855470fa2cafd357793832b468a8a
DIFF: https://github.com/llvm/llvm-project/commit/cd1c58ae5a9855470fa2cafd357793832b468a8a.diff
LOG: [CAS] Fix a link error introduced by CAS (#153235)
It is missing link components which can cause link error when building
as a shared library.
Added:
Modified:
llvm/lib/CAS/CMakeLists.txt
Removed:
################################################################################
diff --git a/llvm/lib/CAS/CMakeLists.txt b/llvm/lib/CAS/CMakeLists.txt
index a486ab66ae426..b2825a171ec31 100644
--- a/llvm/lib/CAS/CMakeLists.txt
+++ b/llvm/lib/CAS/CMakeLists.txt
@@ -5,4 +5,7 @@ add_llvm_component_library(LLVMCAS
ADDITIONAL_HEADER_DIRS
${LLVM_MAIN_INCLUDE_DIR}/llvm/CAS
+
+ LINK_COMPONENTS
+ Support
)
More information about the llvm-commits
mailing list