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