diff options
| -rw-r--r-- | lldb/lit/CMakeLists.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lldb/lit/CMakeLists.txt b/lldb/lit/CMakeLists.txt index 3527d6793a6..fcdea83818f 100644 --- a/lldb/lit/CMakeLists.txt +++ b/lldb/lit/CMakeLists.txt @@ -27,9 +27,14 @@ set(LLDB_TEST_DEPS FileCheck LLDBUnitTests lldb - lldb-server not ) + +# lldb-server is not built on every platform. +if (TARGET lldb-server) + list(APPEND LLDB_TEST_DEPS lldb-server) +endif() + if(APPLE) list(APPEND LLDB_TEST_DEPS debugserver) endif() |

