diff options
author | Julian Andres Klode <julian.klode@canonical.com> | 2019-09-19 11:02:44 +0200 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2019-09-19 11:11:18 +0200 |
commit | 25006573002971500d1501331716e9ca348f815f (patch) | |
tree | d9946c049bf712fd12e352b724bbfe2dfb2caf03 | |
parent | 8a54113d450140bd6b158cb05473cacca859a54d (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.txt | 2 |
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) |