From 271e31c0cdf79b23a665a02d659cb075c994a897 Mon Sep 17 00:00:00 2001 From: leha-bot Date: Mon, 12 Mar 2018 16:33:43 +0300 Subject: [PATCH] libtgvoip: Disable MSVC CRT secure warnings --- Telegram/ThirdParty/libtgvoip/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/ThirdParty/libtgvoip/CMakeLists.txt b/Telegram/ThirdParty/libtgvoip/CMakeLists.txt index 91237f9e3..912b0b33a 100644 --- a/Telegram/ThirdParty/libtgvoip/CMakeLists.txt +++ b/Telegram/ThirdParty/libtgvoip/CMakeLists.txt @@ -93,7 +93,7 @@ add_library(tgvoip STATIC ) if (WIN32) - target_compile_definitions(tgvoip PRIVATE -DNOMINMAX -D_USING_V110_SDK71_ -DTGVOIP_WINXP_COMPAT) + target_compile_definitions(tgvoip PRIVATE -DNOMINMAX -D_USING_V110_SDK71_ -DTGVOIP_WINXP_COMPAT -D_CRT_SECURE_NO_WARNINGS) target_sources(tgvoip PRIVATE os/windows/NetworkSocketWinsock.cpp os/windows/AudioInputWave.cpp