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

This commit is contained in:
Anonymous Maarten authored and Anonymous Maarten committed 2022-10-08 23:41:07 +02:00
1 parent 274ec02581
commit 45da133999
6 files changed
+21 -6

No files matched your search

+1 -1
View File
@@ -241,7 +241,7 @@ fi
case "$host" in
*-ios-*|*-*-darwin* )
AC_MSG_CHECKING(for GCC -Werror option)
AC_MSG_CHECKING(for GCC -Wno-error=deprecated-declarations option)
have_gcc_wno_error_deprecated_declarations=no
save_CFLAGS="$CFLAGS"