Skip to content

Commit 24f6317

Browse files
committed
[CMake] Don't try to install the system debugserver.
The custom target for the system debugserver has no install target, so we need to remove it from the LLVM_DISTRIBUTION_COMPONENTS list. llvm-svn: 372793
1 parent a9b3d1f commit 24f6317

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lldb/test/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,10 @@ if(CMAKE_HOST_APPLE)
101101
COMMAND ${CMAKE_COMMAND} -E copy_if_different
102102
${system_debugserver_path} ${LLVM_RUNTIME_OUTPUT_INTDIR}
103103
COMMENT "Copying the system debugserver to LLDB's binaries directory for testing.")
104+
# The custom target for the system debugserver has no install target, so we
105+
# need to remove it from the LLVM_DISTRIBUTION_COMPONENTS list.
106+
list(REMOVE_ITEM LLVM_DISTRIBUTION_COMPONENTS debugserver)
107+
set(LLVM_DISTRIBUTION_COMPONENTS ${LLVM_DISTRIBUTION_COMPONENTS} PARENT_SCOPE)
104108
message(STATUS "LLDB tests use out-of-tree debugserver: ${system_debugserver_path}")
105109
list(APPEND LLDB_TEST_COMMON_ARGS --out-of-tree-debugserver)
106110
elseif(TARGET debugserver)

0 commit comments

Comments
 (0)