2023-04-19 07:38:48 +08:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2023-12-05 09:20:43 +08:00
|
|
|
index 2c34d7fb..1bedd212 100644
|
2023-04-19 07:38:48 +08:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2023-12-05 09:20:43 +08:00
|
|
|
@@ -446,6 +446,9 @@ if(WARNINGS_AS_ERRORS)
|
|
|
|
endif()
|
2023-04-19 07:38:48 +08:00
|
|
|
endif()
|
|
|
|
|
2023-12-05 09:20:43 +08:00
|
|
|
+target_compile_options(datachannel PRIVATE /wd4996)
|
|
|
|
+target_compile_options(datachannel-static PRIVATE /wd4996)
|
2023-04-19 07:38:48 +08:00
|
|
|
+
|
2023-12-05 09:20:43 +08:00
|
|
|
if(DATACHANNEL_STATIC_LINKAGE)
|
|
|
|
set_target_properties(datachannel PROPERTIES EXCLUDE_FROM_ALL 1)
|
|
|
|
set_target_properties(datachannel-static PROPERTIES EXCLUDE_FROM_ALL 0)
|