From bda152d5ad665328638d38051131a168298f6a63 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Tue, 8 Mar 2016 11:32:18 -0800 Subject: [PATCH] build: add missing dependency Add a dependency on LLVMCore to satisfy the link dependency. Upstream changes to the Target structure have caused a missing definition: Undefined symbols for architecture ...: "llvm::DataLayout::~DataLayout()", referenced from: clang::TargetInfo::~TargetInfo() in libclangBasic.a(TargetInfo.cpp.o) --- tools/SourceKit/tools/sourcekitd-test/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/SourceKit/tools/sourcekitd-test/CMakeLists.txt b/tools/SourceKit/tools/sourcekitd-test/CMakeLists.txt index ed6a88607434b..37438dd98403b 100644 --- a/tools/SourceKit/tools/sourcekitd-test/CMakeLists.txt +++ b/tools/SourceKit/tools/sourcekitd-test/CMakeLists.txt @@ -13,7 +13,7 @@ add_sourcekit_executable(sourcekitd-test TestOptions.cpp DEPENDS ${SOURCEKITD_TEST_DEPEND} clangRewrite clangLex clangBasic - COMPONENT_DEPENDS support option + COMPONENT_DEPENDS core support option ) add_dependencies(sourcekitd-test sourcekitdTestOptionsTableGen)