Author: Argyrios Kyrtzidis Date: 2022-12-02T10:45:49-08:00 New Revision: a9e24afdc706e6946c4da78188732fc60bdb863b
URL: https://github.com/llvm/llvm-project/commit/a9e24afdc706e6946c4da78188732fc60bdb863b DIFF: https://github.com/llvm/llvm-project/commit/a9e24afdc706e6946c4da78188732fc60bdb863b.diff LOG: [lldb/unittests/CMakeLists.txt] Remove extra compiler flag `-include gtest_common.h`, NFC This doesn't seem to be necessary anymore so remove it to be more consistent with rest of the LLVM projects that don't use prefix headers. Differential Revision: https://reviews.llvm.org/D139058 Added: Modified: lldb/unittests/CMakeLists.txt Removed: ################################################################################ diff --git a/lldb/unittests/CMakeLists.txt b/lldb/unittests/CMakeLists.txt index e29bc8da9e9da..c084fa5cca92b 100644 --- a/lldb/unittests/CMakeLists.txt +++ b/lldb/unittests/CMakeLists.txt @@ -10,13 +10,6 @@ if (CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG) add_compile_options("-Wno-suggest-override") endif() -set(LLDB_GTEST_COMMON_INCLUDE ${CMAKE_CURRENT_SOURCE_DIR}/gtest_common.h) -if (MSVC) - list(APPEND LLVM_COMPILE_FLAGS /FI ${LLDB_GTEST_COMMON_INCLUDE}) -else () - list(APPEND LLVM_COMPILE_FLAGS -include ${LLDB_GTEST_COMMON_INCLUDE}) -endif () - function(add_lldb_unittest test_name) cmake_parse_arguments(ARG "" _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits