at master 789 B view raw
1From 5c158213fc3afe39ee96be84e255c12d5886ca18 Mon Sep 17 00:00:00 2001 2From: Pavel Sobolev <paveloom@riseup.net> 3Date: Sat, 1 Apr 2023 17:38:37 +0300 4Subject: [PATCH] Add a hash to the `googletest` binary. 5 6--- 7 CMakeLists.txt | 1 + 8 1 file changed, 1 insertion(+) 9 10diff --git a/CMakeLists.txt b/CMakeLists.txt 11index 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 19 ) 20 # For Windows: Prevent overriding the parent project's compiler/linker settings 21 set(gtest_force_shared_crt ON CACHE BOOL "" FORCE) 22-- 232.39.2