blob da513c5d4eda7fb62fdddf93f0ba7101d44591ac 755 bytes (raw)
name: gnu/packages/patches/crc32c-unbundle-googletest.patch # note: path name is non-authoritative(*)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
| | diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8490728..c7f0952 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -315,15 +315,7 @@ if(CRC32C_BUILD_TESTS)
set(install_gmock OFF)
# This project is tested using GoogleTest.
- add_subdirectory("third_party/googletest")
-
- # GoogleTest triggers a missing field initializers warning.
- if(CRC32C_HAVE_NO_MISSING_FIELD_INITIALIZERS)
- set_property(TARGET gtest
- APPEND PROPERTY COMPILE_OPTIONS -Wno-missing-field-initializers)
- set_property(TARGET gmock
- APPEND PROPERTY COMPILE_OPTIONS -Wno-missing-field-initializers)
- endif(CRC32C_HAVE_NO_MISSING_FIELD_INITIALIZERS)
+ find_package(GTest REQUIRED)
add_executable(crc32c_tests "")
target_sources(crc32c_tests
|
debug log:
solving da513c5d4e ...
found da513c5d4e in https://git.savannah.gnu.org/cgit/guix.git
(*) Git path names are given by the tree(s) the blob belongs to.
Blobs themselves have no identifier aside from the hash of its contents.^
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.