From 1d747bc351521c965c7a80eb2621664df6370517 Mon Sep 17 00:00:00 2001 From: Butta Date: Sun, 26 Jan 2020 12:02:11 +0530 Subject: [PATCH] [sourcekitd-test] Remove redundant LLVMCore static library This library is already supplied by the LLVM CMake config, so adding it here sometimes causes the CommandLine option parser to fail, as it registers the same option twice. --- 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 cf69c7b9c6e82..91c28f371c4d6 100644 --- a/tools/SourceKit/tools/sourcekitd-test/CMakeLists.txt +++ b/tools/SourceKit/tools/sourcekitd-test/CMakeLists.txt @@ -5,7 +5,7 @@ swift_add_public_tablegen_target(sourcekitdTestOptionsTableGen) add_sourcekit_executable(sourcekitd-test sourcekitd-test.cpp TestOptions.cpp - LLVM_LINK_COMPONENTS core option coverage lto + LLVM_LINK_COMPONENTS option coverage lto ) target_link_libraries(sourcekitd-test PRIVATE SourceKitSupport