From 028fe5af60fcfb84a7d842ab9cbadad27635090f Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Tue, 20 Aug 2019 13:17:20 +0000 Subject: [PATCH] Fix build for r369374 This patch added some gtest code to the TestingSupport library. As this is not a unit test, but a unit test library, gtest does not get added to the include path automatically, but we have to do that ourselves. (It was working for me without this because the compiler picked up the system gtest instead.) llvm-svn: 369381 --- lldb/unittests/TestingSupport/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/lldb/unittests/TestingSupport/CMakeLists.txt b/lldb/unittests/TestingSupport/CMakeLists.txt index bfbac5b49fa8..922025d8c23c 100644 --- a/lldb/unittests/TestingSupport/CMakeLists.txt +++ b/lldb/unittests/TestingSupport/CMakeLists.txt @@ -10,3 +10,4 @@ add_lldb_library(lldbUtilityHelpers Support ObjectYAML ) +include_directories(${LLVM_MAIN_SRC_DIR}/utils/unittest/googletest/include)