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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits