early-access version 2853
This commit is contained in:
32
externals/vcpkg/ports/boringssl/0001-vcpkg.patch
vendored
Executable file
32
externals/vcpkg/ports/boringssl/0001-vcpkg.patch
vendored
Executable file
@@ -0,0 +1,32 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 893bca7..83ff477 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -562,7 +562,7 @@ endif()
|
||||
|
||||
# Add minimal googletest targets. The provided one has many side-effects, and
|
||||
# googletest has a very straightforward build.
|
||||
-add_library(boringssl_gtest third_party/googletest/src/gtest-all.cc)
|
||||
+add_library(boringssl_gtest STATIC third_party/googletest/src/gtest-all.cc)
|
||||
target_include_directories(boringssl_gtest PRIVATE third_party/googletest)
|
||||
|
||||
include_directories(third_party/googletest/include)
|
||||
@@ -649,3 +649,18 @@ add_custom_target(
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
||||
DEPENDS all_tests bssl_shim handshaker fips_specific_tests_if_any
|
||||
USES_TERMINAL)
|
||||
+
|
||||
+install(TARGETS crypto ssl
|
||||
+ RUNTIME DESTINATION bin
|
||||
+ LIBRARY DESTINATION lib
|
||||
+ ARCHIVE DESTINATION lib)
|
||||
+
|
||||
+option(INSTALL_HEADERS "Install headers" ON)
|
||||
+if(INSTALL_HEADERS)
|
||||
+ install(DIRECTORY include/ DESTINATION include)
|
||||
+endif()
|
||||
+
|
||||
+option(INSTALL_TOOLS "Install bssl executable" OFF)
|
||||
+if(INSTALL_TOOLS)
|
||||
+ install(TARGETS bssl DESTINATION tools/boringssl)
|
||||
+endif()
|
||||
Reference in New Issue
Block a user