[Lldb-commits] [lldb] r284854 - [CMake] Fix standalone build

Chris Bieneman via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 21 11:38:44 PDT 2016


Author: cbieneman
Date: Fri Oct 21 13:38:44 2016
New Revision: 284854

URL: http://llvm.org/viewvc/llvm-project?rev=284854&view=rev
Log:
[CMake] Fix standalone build

not and FileCheck targets may not be defined in standalone builds.

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=284854&r1=284853&r2=284854&view=diff
==============================================================================
--- lldb/trunk/lit/CMakeLists.txt (original)
+++ lldb/trunk/lit/CMakeLists.txt Fri Oct 21 13:38:44 2016
@@ -24,11 +24,13 @@ configure_lit_site_cfg(
   )
 
 set(LLDB_TEST_DEPS
-  FileCheck
   LLDBUnitTests
   lldb
-  not
   )
+
+if(NOT LLDB_BUILT_STANDALONE)
+  list(APPEND LLDB_TEST_DEPS FileCheck not)
+endif()
   
 # lldb-server is not built on every platform.
 if (TARGET lldb-server)




More information about the lldb-commits mailing list