| 1 | Fromscip-debian debian opencc 1.4.1+ds1-7 opencc/patches/`0004-Use-system-googletest.patch`#From.: Shengjing Zhu <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 2 | Datescip-debian debian opencc 1.4.1+ds1-7 opencc/patches/`0004-Use-system-googletest.patch`#Date.: Sun, 28 Jul 2024 19:44:27 -0400 |
| 3 | Subjectscip-debian debian opencc 1.4.1+ds1-7 opencc/patches/`0004-Use-system-googletest.patch`#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.txtscip-debian debian opencc 1.4.1+ds1-7 opencc/upstream/`opencc/CMakeLists.txt`: |
| 12 | =================================================================== |
| 13 | --- opencc.orig/CMakeLists.txtscip-debian debian opencc 1.4.1+ds1-7 opencc/upstream/`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() |