vcpkg/ports/boringssl/0001-static-gtest.patch

14 lines
468 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 06ce07e..aa3381a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -485,7 +485,7 @@ if(BUILD_TESTING)
# Add minimal googletest targets. The provided one has many side-effects, and
# googletest has a very straightforward build.
add_library(
- boringssl_gtest
+ boringssl_gtest STATIC
third_party/googletest/googlemock/src/gmock-all.cc
third_party/googletest/googletest/src/gtest-all.cc
)