summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2019-09-19 11:02:44 +0200
committerJulian Andres Klode <julian.klode@canonical.com>2019-09-19 11:11:18 +0200
commit25006573002971500d1501331716e9ca348f815f (patch)
treed9946c049bf712fd12e352b724bbfe2dfb2caf03
parent8a54113d450140bd6b158cb05473cacca859a54d (diff)
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.
-rw-r--r--test/libapt/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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)