]> git.saurik.com Git - apt.git/blobdiff - test/libapt/CMakeLists.txt
follow the googletest merge in build-depends
[apt.git] / test / libapt / CMakeLists.txt
index f3df14848db0b46358020f75db6b2a067373b00f..f7cd5b2f6e5a73619c6396c6c2ebc771a341c4cc 100644 (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)
 
 find_package(GTest)
 set(GTEST_DEPENDENCIES)