Skip to content
This repository was archived by the owner on Apr 2, 2020. It is now read-only.

Commit 7bdec51

Browse files
author
Chris Bieneman
committed
[CMake] Fix standalone build
not and FileCheck targets may not be defined in standalone builds. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@284854 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 91ccadf commit 7bdec51

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lit/CMakeLists.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,13 @@ configure_lit_site_cfg(
2424
)
2525

2626
set(LLDB_TEST_DEPS
27-
FileCheck
2827
LLDBUnitTests
2928
lldb
30-
not
3129
)
30+
31+
if(NOT LLDB_BUILT_STANDALONE)
32+
list(APPEND LLDB_TEST_DEPS FileCheck not)
33+
endif()
3234

3335
# lldb-server is not built on every platform.
3436
if (TARGET lldb-server)

0 commit comments

Comments
 (0)