Browse Source

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.

(cherry picked from commit 2500657300)
tags/debian/1.8.4
Julian Andres Klode 1 year ago
parent
commit
3924d70a5e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      test/libapt/CMakeLists.txt

+ 1
- 1
test/libapt/CMakeLists.txt View File

@@ -1,6 +1,6 @@
set(PROJECT_TEST_LIBRARIES apt-private apt-inst)
find_path(GTEST_ROOT src/gtest.cc
/usr/src/googletest/googletest
/usr/src/googletest
/usr/src/gtest
)
find_package(GTest)


Loading…
Cancel
Save