[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
This commit is contained in:
Jonas Devlieghere 2019-09-25 17:13:02 +00:00
parent 2660e55858
commit 765430c91b

View File

@ -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}")