yuzu/externals/vcpkg/ports/libdatachannel/uwp-warnings.patch
2022-07-23 03:01:36 +02:00

15 lines
420 B
Diff
Executable File

diff --git a/CMakeLists.txt b/CMakeLists.txt
index b79b458..790bf95 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -385,6 +385,9 @@ if(WARNINGS_AS_ERRORS)
endif()
endif()
+target_compile_options(datachannel PRIVATE /wd4996)
+target_compile_options(datachannel-static PRIVATE /wd4996)
+
install(TARGETS datachannel EXPORT LibDataChannelTargets
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib