mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 15:29:01 +08:00
1e19af09e5
* [boringssl] Add new port * removed usage of deprecated vcpkg functions * let the ci treat boringssl like libressl * applied requested changes * [boringssl] Update to commit 590265773@2020-04-07 (#8455) * [boringssl] Restore scripts/ci.baseline.txt
33 lines
1.1 KiB
Diff
33 lines
1.1 KiB
Diff
diff --git i/CMakeLists.txt w/CMakeLists.txt
|
|
index 75bf9981b..15589a760 100644
|
|
--- i/CMakeLists.txt
|
|
+++ w/CMakeLists.txt
|
|
@@ -564,7 +564,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)
|
|
@@ -621,3 +621,18 @@ add_custom_target(
|
|
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
|
DEPENDS all_tests bssl_shim handshaker
|
|
${MAYBE_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()
|