[Lldb-commits] [lldb] r281661 - [cmake] Don't depend on lldb-server unless it's built.
Zachary Turner via lldb-commits
lldb-commits at lists.llvm.org
Thu Sep 15 14:32:51 PDT 2016
Author: zturner
Date: Thu Sep 15 16:32:51 2016
New Revision: 281661
URL: http://llvm.org/viewvc/llvm-project?rev=281661&view=rev
Log:
[cmake] Don't depend on lldb-server unless it's built.
Modified:
lldb/trunk/lit/CMakeLists.txt
Modified: lldb/trunk/lit/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/CMakeLists.txt?rev=281661&r1=281660&r2=281661&view=diff
==============================================================================
--- lldb/trunk/lit/CMakeLists.txt (original)
+++ lldb/trunk/lit/CMakeLists.txt Thu Sep 15 16:32:51 2016
@@ -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()
More information about the lldb-commits
mailing list