[CMake] Fix standalone build
authorChris Bieneman <beanz@apple.com>
Fri, 21 Oct 2016 18:38:44 +0000 (18:38 +0000)
committerChris Bieneman <beanz@apple.com>
Fri, 21 Oct 2016 18:38:44 +0000 (18:38 +0000)
not and FileCheck targets may not be defined in standalone builds.

llvm-svn: 284854

lldb/lit/CMakeLists.txt

index fcdea83..07d4906 100644 (file)
@@ -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)