From 19306aa302578fb2b536a5029dc089d9ee40f5e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=89=E5=9D=A4?= Date: Mon, 20 Dec 2021 16:59:06 +0800 Subject: [PATCH] fix: win buid error --- QtScrcpy/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QtScrcpy/CMakeLists.txt b/QtScrcpy/CMakeLists.txt index 04d162a..222ef0f 100755 --- a/QtScrcpy/CMakeLists.txt +++ b/QtScrcpy/CMakeLists.txt @@ -49,7 +49,7 @@ if (MSVC) message(STATUS "[${PROJECT_NAME}] Set Warnings as error") # warning level 3 and all warnings as errors - add_compile_options(/W3 /WX) + add_compile_options(/W3 /WX /wd4566) # avoid warning C4819 add_compile_options(-source-charset:utf-8)