From e1c3ba8259df462bfb7501d250a1da3ff1fe93e1 Mon Sep 17 00:00:00 2001 From: FriwiDev Date: Mon, 15 Nov 2021 01:09:01 +0100 Subject: [PATCH] -Wno-deprecated-copy --- compile_macosx.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/compile_macosx.sh b/compile_macosx.sh index cf7bc5e..7a139a7 100755 --- a/compile_macosx.sh +++ b/compile_macosx.sh @@ -33,6 +33,7 @@ cd jcef mkdir jcef_build && cd jcef_build # MacOS: Generate amd64/arm64 Makefiles. +export CXXFLAGS+=-Wno-deprecated-copy if [ ${TARGETARCH} == 'amd64' ]; then cmake -G "Ninja" -DPROJECT_ARCH="x86_64" -DCMAKE_BUILD_TYPE=${BUILD_TYPE} .. else