Skip to content

Commit 78769d5

Browse files
committed
[LLDB] Don't check for libcxx if LLDB_ENFORCE_STRICT_TEST_REQUIREMENTS is off
1 parent ed7d6c3 commit 78769d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ if(TARGET clang)
202202
else()
203203
# We require libcxx for the test suite, so if we aren't building it,
204204
# provide a helpful error about how to resolve the situation.
205-
if(NOT LLDB_HAS_LIBCXX)
205+
if(LLDB_ENFORCE_STRICT_TEST_REQUIREMENTS AND NOT LLDB_HAS_LIBCXX)
206206
message(SEND_ERROR
207207
"LLDB test suite requires libc++, but it is currently disabled. "
208208
"Please add `libcxx` to `LLVM_ENABLE_RUNTIMES` or disable tests via "

0 commit comments

Comments
 (0)