Use system googletest
authorShengjing Zhu <zhsj@debian.org>
Sat, 6 Mar 2021 09:53:25 +0000 (17:53 +0800)
committerShengjing Zhu <zhsj@debian.org>
Sun, 7 Mar 2021 06:20:40 +0000 (06:20 +0000)
Forwarded: not-needed

Gbp-Pq: Name 0005-Use-system-googletest.patch

CMakeLists.txt

index efb51ae1dd139659dc42e25f7c8ad8daa3c33b7e..e26b9345abfa1561fb079788ca4cb8ab61098e73 100644 (file)
@@ -195,7 +195,7 @@ add_subdirectory(test)
 ######## Testing
 
 if (ENABLE_GTEST)
-  add_subdirectory(deps/gtest-1.11.0)
+  add_subdirectory(/usr/src/googletest/googletest ${CMAKE_BINARY_DIR}/googletest-build EXCLUDE_FROM_ALL)
   enable_testing()
 endif()