From d79122fab9021a1e10d60a06272adba5f288d095 Mon Sep 17 00:00:00 2001 From: Barry <870709864@qq.com> Date: Wed, 8 Jun 2022 21:15:27 +0800 Subject: [PATCH] fix: build error on mac --- QtScrcpy/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QtScrcpy/CMakeLists.txt b/QtScrcpy/CMakeLists.txt index 36e37d0..5ddf143 100755 --- a/QtScrcpy/CMakeLists.txt +++ b/QtScrcpy/CMakeLists.txt @@ -68,7 +68,7 @@ if (NOT MSVC) add_compile_options(-Wall -Wextra -pedantic -Werror) # disable some warning - add_compile_options(-Wno-nested-anon-types -Wno-c++17-extensions) + add_compile_options(-Wno-nested-anon-types -Wno-c++17-extensions -Wno-overloaded-virtual) endif() #