[Lldb-commits] [lldb] r369381 - Fix build for r369374
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Tue Aug 20 06:17:21 PDT 2019
Author: labath
Date: Tue Aug 20 06:17:20 2019
New Revision: 369381
URL: http://llvm.org/viewvc/llvm-project?rev=369381&view=rev
Log:
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.)
Modified:
lldb/trunk/unittests/TestingSupport/CMakeLists.txt
Modified: lldb/trunk/unittests/TestingSupport/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/unittests/TestingSupport/CMakeLists.txt?rev=369381&r1=369380&r2=369381&view=diff
==============================================================================
--- lldb/trunk/unittests/TestingSupport/CMakeLists.txt (original)
+++ lldb/trunk/unittests/TestingSupport/CMakeLists.txt Tue Aug 20 06:17:20 2019
@@ -10,3 +10,4 @@ add_lldb_library(lldbUtilityHelpers
Support
ObjectYAML
)
+include_directories(${LLVM_MAIN_SRC_DIR}/utils/unittest/googletest/include)
More information about the lldb-commits
mailing list