Debian Codegraph @

debian/patches/0004-Use-system-googletest.patch

raw symbols SCIP
1 From: Shengjing Zhu <[email protected]>
2 Date: Sun, 28 Jul 2024 19:44:27 -0400
3 Subject: Use system googletest
4
5 Forwarded: not-needed
6 Last-Update: 2024-07-28
7 ---
8 CMakeLists.txt | 2 ++
9 1 file changed, 2 insertions(+)
10
11 Index: opencc/CMakeLists.txt
12 ===================================================================
13 --- opencc.orig/CMakeLists.txt
14 +++ opencc/CMakeLists.txt
15 @@ -404,6 +404,8 @@ if (ENABLE_GTEST)
16 endif()
17 if(NOT USE_SYSTEM_GTEST)
18 add_subdirectory(deps/googletest-1.15.0)
19 + else()
20 + add_subdirectory(/usr/src/googletest/googletest ${CMAKE_BINARY_DIR}/googletest-build EXCLUDE_FROM_ALL)
21 endif()
22 enable_testing()
23 endif()