Skip to content

Commit dac290d

Browse files
committed
vcpkg: Add 'ice' feature, enabled by default; v1.6.0
1 parent 06341b0 commit dac290d

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

vcpkg.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg/master/scripts/vcpkg.schema.json",
33
"name": "gamenetworkingsockets",
4-
"version-string": "1.5.1",
4+
"version-string": "1.6.0",
55
"description": "A basic transport layer for games.",
66
"homepage": "https://github.com/ValveSoftware/GameNetworkingSockets",
77
"builtin-baseline": "522253caf47268c1724f486a035e927a42a90092",
@@ -11,7 +11,7 @@
1111
{ "name": "vcpkg-cmake", "host": true },
1212
{ "name": "vcpkg-cmake-config", "host": true }
1313
],
14-
"default-features": [ "openssl" ],
14+
"default-features": [ "openssl", "ice" ],
1515
"features": {
1616
"openssl": {
1717
"description": "Use OpenSSL as the crypto provider. This is the default.",
@@ -21,9 +21,12 @@
2121
"description": "Use libsodium as the crypto provider.",
2222
"dependencies": [ "libsodium" ]
2323
},
24+
"ice": {
25+
"description": "Compile support for P2P connections and the native ICE client (STUN and TURN)."
26+
},
2427
"webrtc": {
25-
"description": "Compiles WebRTC support for P2P.",
26-
"dependencies": [ "abseil" ]
28+
"description": "Compile the Google WebRTC ICE implementation and use it as the default ICE backend. Requires 'ice'.",
29+
"dependencies": [ "abseil", { "name": "gamenetworkingsockets", "features": [ "ice" ] } ]
2730
},
2831
"examples": {
2932
"description": "Build the examples."

vcpkg_ports/gamenetworkingsockets/portfile.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ endif()
2323
vcpkg_check_features(
2424
OUT_FEATURE_OPTIONS FEATURE_OPTIONS
2525
FEATURES
26+
ice ENABLE_ICE
2627
webrtc USE_STEAMWEBRTC
2728
examples BUILD_EXAMPLES
2829
tests BUILD_TESTS

0 commit comments

Comments
 (0)