diff options
author | Alex Langford <alangford@apple.com> | 2022-11-17 13:46:40 -0800 |
---|---|---|
committer | Alex Langford <alangford@apple.com> | 2022-11-18 09:05:08 -0800 |
commit | 58d38b3ff8c3c4dd816d2047acf65fa97c0b6fb8 (patch) | |
tree | f9abcf7ddde49817d6837cc8da2595759e3209c0 /lldb/cmake | |
parent | 0f3e72e86c8c7c6bf0ec24bf1e2acd74b4123e7b (diff) | |
download | llvm-58d38b3ff8c3c4dd816d2047acf65fa97c0b6fb8.zip llvm-58d38b3ff8c3c4dd816d2047acf65fa97c0b6fb8.tar.gz llvm-58d38b3ff8c3c4dd816d2047acf65fa97c0b6fb8.tar.bz2 |
[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
Diffstat (limited to 'lldb/cmake')
-rw-r--r-- | lldb/cmake/modules/LLDBStandalone.cmake | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lldb/cmake/modules/LLDBStandalone.cmake b/lldb/cmake/modules/LLDBStandalone.cmake index 8130472..6dfb459 100644 --- a/lldb/cmake/modules/LLDBStandalone.cmake +++ b/lldb/cmake/modules/LLDBStandalone.cmake @@ -89,7 +89,6 @@ include(CheckAtomic) include(LLVMDistributionSupport) set(PACKAGE_VERSION "${LLVM_PACKAGE_VERSION}") -set(LLVM_INCLUDE_TESTS ON CACHE INTERNAL "") set(CMAKE_INCLUDE_CURRENT_DIR ON) include_directories( |