[lldb][cmake] Move remove_module_flags macro to AddLLDB.cmake
authorRaphael Isemann <teemperor@gmail.com>
Sat, 7 Mar 2020 01:07:23 +0000 (17:07 -0800)
committerRaphael Isemann <teemperor@gmail.com>
Sat, 7 Mar 2020 01:21:24 +0000 (17:21 -0800)
commitce1bc00f37d7f85004aef97f68eb8289a0454562
treeff68fe08c4af4379182af62e6004b10bea2cfb5d
parent2bba1c22e77a67bc6c245fbd4fa74160d33be564
[lldb][cmake] Move remove_module_flags macro to AddLLDB.cmake

Summary: This is currently hidden in the Host CMakeLists but we should also use this macro in other parts of LLDB where we have ObjC++ sources (see D74891)

Reviewers: JDevlieghere

Reviewed By: JDevlieghere

Subscribers: mgorny, lldb-commits

Tags: #lldb

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