Skip to content

Commit

Permalink
configure.ac: treat freetype2 include folder as a system one
Browse files Browse the repository at this point in the history
  • Loading branch information
firewave committed Mar 30, 2024
1 parent da33a13 commit ff75ff1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ case "$with_freetype2" in
fi

if test -f $with_freetype2/include/freetype2/ft2build.h; then
FREETYPE2_CFLAGS="-I $with_freetype2/include/freetype2"
FREETYPE2_CFLAGS="-isystem $with_freetype2/include/freetype2"
else
AC_MSG_RESULT([no])
AC_MSG_ERROR([Can't find $with_freetype2/include/freetype2/ft2build.h])
Expand Down

0 comments on commit ff75ff1

Please sign in to comment.