From 0a2213c6eb24c9deec738e30509815e5bddd860c Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Fri, 28 Aug 2020 12:31:16 +0200 Subject: [PATCH] [lldb/cmake] Fix testing support library dependencies lldbUtilityHelpers does not depend on lldbSymbolHelpers. Remove that dependency, and add direct lldbSymbolHelpers dependencies where needed. --- lldb/unittests/Expression/CMakeLists.txt | 1 + lldb/unittests/SymbolFile/DWARF/CMakeLists.txt | 3 ++- lldb/unittests/TestingSupport/CMakeLists.txt | 1 - 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lldb/unittests/Expression/CMakeLists.txt b/lldb/unittests/Expression/CMakeLists.txt index 2f5304a..0e8230d1 100644 --- a/lldb/unittests/Expression/CMakeLists.txt +++ b/lldb/unittests/Expression/CMakeLists.txt @@ -11,5 +11,6 @@ add_lldb_unittest(ExpressionTests lldbPluginTypeSystemClang lldbUtility lldbUtilityHelpers + lldbSymbolHelpers LLVMTestingSupport ) diff --git a/lldb/unittests/SymbolFile/DWARF/CMakeLists.txt b/lldb/unittests/SymbolFile/DWARF/CMakeLists.txt index 64a7b78..30620a6 100644 --- a/lldb/unittests/SymbolFile/DWARF/CMakeLists.txt +++ b/lldb/unittests/SymbolFile/DWARF/CMakeLists.txt @@ -11,8 +11,9 @@ add_lldb_unittest(SymbolFileDWARFTests lldbPluginSymbolFileDWARF lldbPluginSymbolFilePDB lldbPluginTypeSystemClang - lldbUtilityHelpers lldbPluginPlatformMacOSX + lldbUtilityHelpers + lldbSymbolHelpers LINK_COMPONENTS Support DebugInfoPDB diff --git a/lldb/unittests/TestingSupport/CMakeLists.txt b/lldb/unittests/TestingSupport/CMakeLists.txt index 4599ada..c62bc3b 100644 --- a/lldb/unittests/TestingSupport/CMakeLists.txt +++ b/lldb/unittests/TestingSupport/CMakeLists.txt @@ -5,7 +5,6 @@ add_lldb_library(lldbUtilityHelpers LINK_LIBS lldbUtility - lldbSymbolHelpers gtest LINK_COMPONENTS -- 2.7.4