From: Shengjing Zhu Date: Sat, 6 Mar 2021 09:53:25 +0000 (+0800) Subject: Use system googletest X-Git-Tag: archive/raspbian/1.1.1+git20200624+ds2-10+rpi1^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=99d92d0bc5ed362ae5bce843428cbb21d009caa0;p=opencc.git Use system googletest Forwarded: not-needed Gbp-Pq: Name 0005-Use-system-googletest.patch --- diff --git a/CMakeLists.txt b/CMakeLists.txt index efb51ae..e26b934 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()