cmake: don't error on apple when using deprecated declarations

This commit is contained in:
Anonymous Maarten
2022-10-06 00:39:47 +02:00
committed by Anonymous Maarten
parent 274ec02581
commit 45da133999
6 changed files with 21 additions and 6 deletions

4
test/configure vendored
View File

@@ -4790,8 +4790,8 @@ fi
case "$host" in
*-ios-*|*-*-darwin* )
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GCC -Werror option" >&5
printf %s "checking for GCC -Werror option... " >&6; }
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GCC -Wno-error=deprecated-declarations option" >&5
printf %s "checking for GCC -Wno-error=deprecated-declarations option... " >&6; }
have_gcc_wno_error_deprecated_declarations=no
save_CFLAGS="$CFLAGS"