[clang] 1ecf120 - [index-while-building] Fix build with -DBUILD_SHARED_LIBS=True
Alex Bradbury via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 20 07:14:33 PDT 2020
Author: Alex Bradbury
Date: 2020-08-20T15:12:56+01:00
New Revision: 1ecf120246e7d3e5c9a9ed1db637914bbf4b5702
URL: https://github.com/llvm/llvm-project/commit/1ecf120246e7d3e5c9a9ed1db637914bbf4b5702
DIFF: https://github.com/llvm/llvm-project/commit/1ecf120246e7d3e5c9a9ed1db637914bbf4b5702.diff
LOG: [index-while-building] Fix build with -DBUILD_SHARED_LIBS=True
The dependencies in clang/lib/IndexSerialization/CMakeLists.txt were
incomplete, leading to link errors for a -DBUILD_SHARED_LIBS=True build.
Added:
Modified:
clang/lib/IndexSerialization/CMakeLists.txt
Removed:
################################################################################
diff --git a/clang/lib/IndexSerialization/CMakeLists.txt b/clang/lib/IndexSerialization/CMakeLists.txt
index 197059fff4b3..65a5d20d6a92 100644
--- a/clang/lib/IndexSerialization/CMakeLists.txt
+++ b/clang/lib/IndexSerialization/CMakeLists.txt
@@ -1,3 +1,7 @@
+set(LLVM_LINK_COMPONENTS
+ Support
+ )
+
add_clang_library(clangIndexSerialization
SerializablePathCollection.cpp
More information about the cfe-commits
mailing list