[lldb][CMake] Enforce not letting lldbUtility link against any other lldb libs
authorAlex Langford <alangford@apple.com>
Mon, 20 Mar 2023 23:41:11 +0000 (16:41 -0700)
committerAlex Langford <alangford@apple.com>
Tue, 21 Mar 2023 18:03:51 +0000 (11:03 -0700)
commit2356bf27f722eddbdf3c9acf4072cbdd348f00d0
tree8b0724258fdfcd50f6552e67720b5d19124bf307
parent2b34d59858d6fd12b9bab4ac0868998c940e43f6
[lldb][CMake] Enforce not letting lldbUtility link against any other lldb libs

lldbUtility is not supposed to depend on anything else in lldb. Let's
enforce that constraint in CMake rather than hoping something doesn't
slip in under the radar.

Differential Revision: https://reviews.llvm.org/D146473
lldb/cmake/modules/AddLLDB.cmake
lldb/source/Utility/CMakeLists.txt