From 25006573002971500d1501331716e9ca348f815f Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Thu, 19 Sep 2019 11:02:44 +0200 Subject: Fix use of GTest to adjust for GTest 1.9 GTest 1.9 uses a variable defined in the parent directory, thus failing to configure. Configure the project in the parent directory instead. --- test/libapt/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/libapt/CMakeLists.txt b/test/libapt/CMakeLists.txt index d44d77ad4..f5cc91d44 100644 --- a/test/libapt/CMakeLists.txt +++ b/test/libapt/CMakeLists.txt @@ -1,6 +1,6 @@ set(PROJECT_TEST_LIBRARIES apt-private) find_path(GTEST_ROOT src/gtest.cc - /usr/src/googletest/googletest + /usr/src/googletest /usr/src/gtest ) find_package(GTest) -- cgit v1.2.3-70-g09d2