mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 19:28:59 +08:00
[winsock2,usocket] Fix mingw build (#25079)
* winsocks2 is empty package on mingw * Fix usocket build on mingw * Update versions * Add license fields * Update versions * Update versions
This commit is contained in:
parent
e20e1c7908
commit
fb5d36bcad
@ -41,7 +41,7 @@ endif()
|
||||
|
||||
if (CMAKE_USE_NETWORK)
|
||||
list(APPEND USOCKETS_EXT_INCLUDE_DIR src/internal/networking)
|
||||
list(APPEND USOCKETS_EXT_LIBS Ws2_32)
|
||||
list(APPEND USOCKETS_EXT_LIBS ws2_32)
|
||||
endif()
|
||||
|
||||
add_library(uSockets ${SOURCES})
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "usockets",
|
||||
"version": "0.8.1",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "Miniscule cross-platform eventing, networking & crypto for async applications",
|
||||
"homepage": "https://github.com/uNetworking/uSockets",
|
||||
"license": "Apache-2.0",
|
||||
|
@ -1,3 +1,8 @@
|
||||
if(VCPKG_TARGET_IS_MINGW)
|
||||
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
|
||||
return()
|
||||
endif()
|
||||
|
||||
vcpkg_get_windows_sdk(WINDOWS_SDK)
|
||||
|
||||
if (WINDOWS_SDK MATCHES "10.")
|
||||
|
@ -1,7 +1,8 @@
|
||||
{
|
||||
"name": "winsock2",
|
||||
"version": "0.0",
|
||||
"port-version": 4,
|
||||
"port-version": 5,
|
||||
"description": "Windows Sockets.",
|
||||
"license": null,
|
||||
"supports": "windows"
|
||||
}
|
||||
|
@ -7350,7 +7350,7 @@
|
||||
},
|
||||
"usockets": {
|
||||
"baseline": "0.8.1",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"usrsctp": {
|
||||
"baseline": "0.9.5.0",
|
||||
@ -7614,7 +7614,7 @@
|
||||
},
|
||||
"winsock2": {
|
||||
"baseline": "0.0",
|
||||
"port-version": 4
|
||||
"port-version": 5
|
||||
},
|
||||
"winsparkle": {
|
||||
"baseline": "0.7.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "f5f1af355335cdcd1c055cdbcdd574b146116942",
|
||||
"version": "0.8.1",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "bf42304e17879df7e100c97d4487adaeaadfd87e",
|
||||
"version": "0.8.1",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "f9afad2b0a036847b45f884809b16d804eae56cf",
|
||||
"version": "0.0",
|
||||
"port-version": 5
|
||||
},
|
||||
{
|
||||
"git-tree": "f6fb217f4eea375e9691dbde28c72c01dddd0c9f",
|
||||
"version": "0.0",
|
||||
|
Loading…
Reference in New Issue
Block a user