From 3473d7467a736e923b65093c91287040b318d4eb Mon Sep 17 00:00:00 2001 From: firewave Date: Fri, 20 Oct 2023 17:45:50 +0200 Subject: [PATCH] configure.ac: treat freetype2 include folder as a system one --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index e40df703b9..ffa7dc343b 100644 --- a/configure.ac +++ b/configure.ac @@ -318,7 +318,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])