mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-04 14:24:57 +08:00
cmake: don't error on apple when using deprecated declarations
This commit is contained in:
committed by
Anonymous Maarten
parent
274ec02581
commit
45da133999
+1
-1
@@ -1622,7 +1622,7 @@ CheckWerror()
|
||||
dnl See if GCC's -Wno-error=deprecated-declarations is supported.
|
||||
CheckNoErrorDeprecatedDeclarationsWerror()
|
||||
{
|
||||
AC_MSG_CHECKING(for GCC -Werror option)
|
||||
AC_MSG_CHECKING(for GCC -Wno-error=deprecated-declarations option)
|
||||
have_gcc_no_werror_deprecated_declarations=no
|
||||
|
||||
save_CFLAGS="$CFLAGS"
|
||||
|
||||
Reference in New Issue
Block a user