mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 22:10:04 +08:00
[boringssl] Fix build error on unix (#13056)
This commit is contained in:
parent
5a240bcf92
commit
f2a59715bf
@ -1,13 +1,15 @@
|
||||
diff --git a/decrepit/CMakeLists.txt b/decrepit/CMakeLists.txt
|
||||
index ef95a6b..ad7c8d8 100644
|
||||
--- a/decrepit/CMakeLists.txt
|
||||
+++ b/decrepit/CMakeLists.txt
|
||||
@@ -24,6 +24,8 @@ add_library(
|
||||
|
||||
add_dependencies(decrepit global_target)
|
||||
|
||||
+target_compile_options(decrepit PRIVATE /wd4065)
|
||||
+
|
||||
target_link_libraries(decrepit crypto ssl)
|
||||
|
||||
add_executable(
|
||||
diff --git a/decrepit/CMakeLists.txt b/decrepit/CMakeLists.txt
|
||||
index ef95a6b..0b52c05 100644
|
||||
--- a/decrepit/CMakeLists.txt
|
||||
+++ b/decrepit/CMakeLists.txt
|
||||
@@ -40,6 +40,10 @@ add_executable(
|
||||
|
||||
add_dependencies(decrepit_test global_target)
|
||||
|
||||
+if(MSVC)
|
||||
+ target_compile_options(decrepit PRIVATE /wd4065)
|
||||
+endif()
|
||||
+
|
||||
target_link_libraries(decrepit_test test_support_lib boringssl_gtest decrepit
|
||||
crypto)
|
||||
if(WIN32)
|
||||
|
@ -1,6 +1,6 @@
|
||||
Source: boringssl
|
||||
Version: 2020-04-07
|
||||
Port-Version: 1
|
||||
Port-Version: 2
|
||||
Homepage: https://boringssl.googlesource.com/boringssl
|
||||
Description: BoringSSl is a fork of OpenSSL developed by Google
|
||||
Supports: !uwp
|
||||
|
Loading…
Reference in New Issue
Block a user