Browse Source

follow the googletest merge in build-depends

tags/debian/1.4_beta1
David Kalnischkies 4 years ago
parent
commit
0123ce7171
2 changed files with 5 additions and 3 deletions
  1. +1
    -1
      debian/control
  2. +4
    -2
      test/libapt/CMakeLists.txt

+ 1
- 1
debian/control View File

@@ -16,7 +16,7 @@ Build-Depends: cmake (>= 3.4),
libbz2-dev,
libcurl4-gnutls-dev (>= 7.19.4~),
libdb-dev,
libgtest-dev <!nocheck>,
googletest <!nocheck> | libgtest-dev <!nocheck>,
liblz4-dev (>= 0.0~r126),
liblzma-dev,
pkg-config,


+ 4
- 2
test/libapt/CMakeLists.txt View File

@@ -1,5 +1,7 @@
set(GTEST_ROOT "/usr/src/gtest" CACHE FILEPATH "Path to GTest CMake project")

find_path(GTEST_ROOT src/gtest.cc
/usr/src/googletest/googletest
/usr/src/gtest
)
find_package(GTest)
set(GTEST_DEPENDENCIES)



Loading…
Cancel
Save