From 765430c91b4f60b3a2c0c0ef0a425c45a913f78d Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Wed, 25 Sep 2019 17:13:02 +0000 Subject: [PATCH] [CMake] Add the system debugserver to lldb-test-deps. When using the system debugserver we create a target to copy it over. This target has to be added to lldb-test-deps. llvm-svn: 372901 --- lldb/test/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/lldb/test/CMakeLists.txt b/lldb/test/CMakeLists.txt index 2f2fee8a89f3..41dd30ec77c0 100644 --- a/lldb/test/CMakeLists.txt +++ b/lldb/test/CMakeLists.txt @@ -109,6 +109,7 @@ if(CMAKE_HOST_APPLE) endif() message(STATUS "LLDB tests use out-of-tree debugserver: ${system_debugserver_path}") list(APPEND LLDB_TEST_COMMON_ARGS --out-of-tree-debugserver) + add_dependencies(lldb-test-deps debugserver) elseif(TARGET debugserver) set(debugserver_path ${LLVM_RUNTIME_OUTPUT_INTDIR}/debugserver) message(STATUS "LLDB Tests use just-built debugserver: ${debugserver_path}")