Skip to content

Commit 2bb1545

Browse files
committed
[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.
1 parent f5465e7 commit 2bb1545

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

lldb/tools/lldb-server/CMakeLists.txt

-24
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,3 @@
1-
if ( CMAKE_SYSTEM_NAME MATCHES "Linux" )
2-
include_directories(
3-
../../../../llvm/include
4-
../../source/Plugins/Process/Linux
5-
../../source/Plugins/Process/POSIX
6-
)
7-
endif ()
8-
9-
if ( CMAKE_SYSTEM_NAME MATCHES "FreeBSD" )
10-
include_directories(
11-
../../../../llvm/include
12-
../../source/Plugins/Process/FreeBSD
13-
../../source/Plugins/Process/POSIX
14-
)
15-
endif ()
16-
17-
if ( CMAKE_SYSTEM_NAME MATCHES "NetBSD" )
18-
include_directories(
19-
../../../../llvm/include
20-
../../source/Plugins/Process/NetBSD
21-
../../source/Plugins/Process/POSIX
22-
)
23-
endif ()
24-
251
include_directories(../../source)
262

273
set(LLDB_PLUGINS)

0 commit comments

Comments
 (0)