thunderbird*: 128.5.*esr -> 128.5.2esr (#364288)
[NixPkgs.git] / pkgs / development / compilers / codon / Add-a-hash-to-the-googletest-binary.patch
blob5183723d3d49dee8b26a2163aae03821549dc9b8
1 From 5c158213fc3afe39ee96be84e255c12d5886ca18 Mon Sep 17 00:00:00 2001
2 From: Pavel Sobolev <paveloom@riseup.net>
3 Date: Sat, 1 Apr 2023 17:38:37 +0300
4 Subject: [PATCH] Add a hash to the `googletest` binary.
6 ---
7 CMakeLists.txt | 1 +
8 1 file changed, 1 insertion(+)
10 diff --git a/CMakeLists.txt b/CMakeLists.txt
11 index 0a06e6f..a614025 100644
12 --- a/CMakeLists.txt
13 +++ b/CMakeLists.txt
14 @@ -434,6 +434,7 @@ include(FetchContent)
15 FetchContent_Declare(
16 googletest
17 URL https://github.com/google/googletest/archive/609281088cfefc76f9d0ce82e1ff6c30cc3591e5.zip
18 + URL_HASH SHA256=5cf189eb6847b4f8fc603a3ffff3b0771c08eec7dd4bd961bfd45477dd13eb73
20 # For Windows: Prevent overriding the parent project's compiler/linker settings
21 set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
23 2.39.2