diff --git a/lldb/test/CMakeLists.txt b/lldb/test/CMakeLists.txt index 34fc377e0e206..9944e37a46fc9 100644 --- a/lldb/test/CMakeLists.txt +++ b/lldb/test/CMakeLists.txt @@ -49,6 +49,9 @@ if (CMAKE_SYSTEM_NAME MATCHES "Darwin") add_lldb_test_dependency(darwin-debug) endif() +if(TARGET debugserver) + add_lldb_test_dependency(debugserver) +endif() if(TARGET lldb-server) add_lldb_test_dependency(lldb-server) endif()