vcpkg/ports/libdatachannel/uwp-warnings.patch
crisboarna 578406cc8b
[libdatachannel] chore(version): updated to 0.17.8 (#25522)
* [libdatachannel] chore(version): updated to 0.17.7

* [libdatachannel] chore(version): updated to 0.17.7 version

* [libdatachannel] chore(version): updated to 0.17.7 version sha

* update version

* [libdatachannel] update version to 0.17.8

* del version

* update version

* format patch

* overwrite version

Co-authored-by: FrankXie <v-frankxie@microsoft.com>
2022-07-05 08:41:51 -07:00

15 lines
420 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4347b6a..e3d6d19 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -394,6 +394,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