From 7a5dfcd91281d301f8922e50868f5cd7dcd505d3 Mon Sep 17 00:00:00 2001 From: winsoft666 Date: Fri, 6 Aug 2021 18:09:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=9C=A8UWP=E5=B9=B3?= =?UTF-8?q?=E5=8F=B0=E7=BC=96=E8=AF=91=E9=94=99=E8=AF=AF=EF=BC=8Cstd::code?= =?UTF-8?q?cvt=5F*=E7=AD=89=E5=87=BD=E6=95=B0=E8=A2=AB=E6=B7=98=E6=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b80a2aa..60a8f27 100755 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -16,6 +16,8 @@ if (MSVC AND USE_STATIC_CRT) endforeach() endif() +add_definitions(-D_SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING) + if(UNIX) file(GLOB SRC_FILES ${LIBIPC_PROJECT_DIR}/src/libipc/platform/*_linux.cpp) else()