Skip to content

Commit 37f28a7

Browse files
ErrorAtLine0zpostfacto
authored andcommitted
USE_STEAMWEBRTC=ON now actually uses WebRTC instead of the native ICE client
1 parent 6a1fc10 commit 37f28a7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ set(GNS_CLIENTLIB_SRCS
4949
"steamnetworkingsockets/clientlib/steamnetworkingsockets_ice_client.cpp"
5050
"steamnetworkingsockets/clientlib/steamnetworkingsockets_p2p.cpp"
5151
"steamnetworkingsockets/clientlib/steamnetworkingsockets_p2p_ice.cpp"
52+
"steamnetworkingsockets/clientlib/steamnetworkingsockets_p2p_webrtc.cpp"
5253
"steamnetworkingsockets/clientlib/steamnetworkingsockets_snp.cpp"
5354
"steamnetworkingsockets/clientlib/steamnetworkingsockets_udp.cpp"
5455
)
@@ -269,6 +270,7 @@ macro(set_clientlib_target_properties GNS_TARGET)
269270
# We might link dynamically in other environments.
270271
target_compile_definitions(${GNS_TARGET} PRIVATE
271272
STEAMWEBRTC_USE_STATIC_LIBS
273+
STEAMNETWORKINGSOCKETS_ENABLE_WEBRTC
272274
)
273275
target_link_libraries(${GNS_TARGET} PUBLIC
274276
$<BUILD_INTERFACE:steamwebrtc>

0 commit comments

Comments
 (0)