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