[lldb] Restore default setting of LLDB_INCLUDE_TESTS in standalone builds
authorAlex Langford <alangford@apple.com>
Thu, 17 Nov 2022 21:46:40 +0000 (13:46 -0800)
committerAlex Langford <alangford@apple.com>
Fri, 18 Nov 2022 17:05:08 +0000 (09:05 -0800)
commit58d38b3ff8c3c4dd816d2047acf65fa97c0b6fb8
treef9abcf7ddde49817d6837cc8da2595759e3209c0
parent0f3e72e86c8c7c6bf0ec24bf1e2acd74b4123e7b
[lldb] Restore default setting of LLDB_INCLUDE_TESTS in standalone builds

In 52f39853abd46495a6d636c4b035e1b92cf4b833 the option LLDB_INCLUDE_TESTS was
moved above the inclusion of LLDBStandalone. This isn't a problem per-se, but
it changes the default value of LLDB_INCLUDE_TESTS in standalone builds.
LLDBStandalone explicitly sets LLVM_INCLUDE_TESTS to true, indicating that
for standalone builds this is considered the default behavior.
This patch restores said default behavior.

Differential Revision: https://reviews.llvm.org/D138237
lldb/CMakeLists.txt
lldb/cmake/modules/LLDBStandalone.cmake