From 2bb154591fab6c1d3a99d63ef03c234f0a363410 Mon Sep 17 00:00:00 2001 From: Alex Langford Date: Fri, 10 Jan 2020 16:10:06 -0800 Subject: [PATCH] [lldb-server] Remove dead CMake code No files in lldb-server are including a header from a plugin without the whole path to the header relative to the lldb source directory. There is no need to include the specific directories as a result. --- lldb/tools/lldb-server/CMakeLists.txt | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/lldb/tools/lldb-server/CMakeLists.txt b/lldb/tools/lldb-server/CMakeLists.txt index f1c826b..7754e9d 100644 --- a/lldb/tools/lldb-server/CMakeLists.txt +++ b/lldb/tools/lldb-server/CMakeLists.txt @@ -1,27 +1,3 @@ -if ( CMAKE_SYSTEM_NAME MATCHES "Linux" ) -include_directories( - ../../../../llvm/include - ../../source/Plugins/Process/Linux - ../../source/Plugins/Process/POSIX - ) -endif () - -if ( CMAKE_SYSTEM_NAME MATCHES "FreeBSD" ) -include_directories( - ../../../../llvm/include - ../../source/Plugins/Process/FreeBSD - ../../source/Plugins/Process/POSIX - ) -endif () - -if ( CMAKE_SYSTEM_NAME MATCHES "NetBSD" ) -include_directories( - ../../../../llvm/include - ../../source/Plugins/Process/NetBSD - ../../source/Plugins/Process/POSIX - ) -endif () - include_directories(../../source) set(LLDB_PLUGINS) -- 2.7.4