File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -103,8 +103,10 @@ if(CMAKE_HOST_APPLE)
103
103
COMMENT "Copying the system debugserver to LLDB's binaries directory for testing." )
104
104
# The custom target for the system debugserver has no install target, so we
105
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 )
106
+ if (LLVM_DISTRIBUTION_COMPONENTS )
107
+ list (REMOVE_ITEM LLVM_DISTRIBUTION_COMPONENTS debugserver )
108
+ set (LLVM_DISTRIBUTION_COMPONENTS ${LLVM_DISTRIBUTION_COMPONENTS} PARENT_SCOPE )
109
+ endif ()
108
110
message (STATUS "LLDB tests use out-of-tree debugserver: ${system_debugserver_path} " )
109
111
list (APPEND LLDB_TEST_COMMON_ARGS --out-of-tree-debugserver )
110
112
elseif (TARGET debugserver )
You can’t perform that action at this time.
0 commit comments