Allow building library with Cairo under wxOSX

Enable checking for Cairo in the configure script.
This commit is contained in:
Artur Wieczorek
2019-11-17 22:14:38 +01:00
parent 8cf8c918b9
commit 3ca6e04d61
2 changed files with 2 additions and 2 deletions

View File

@@ -7533,7 +7533,7 @@ if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
fi
elif test "$WXGTK1" = "1"; then
AC_MSG_WARN([wxGraphicsContext not supported with GTK +1])
elif test "$wxUSE_GTK" = 1 -o "$wxUSE_QT" = 1 -o "$wxUSE_X11" = 1; then
elif test "$wxUSE_GTK" = 1 -o "$wxUSE_QT" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MAC" = 1; then
PKG_CHECK_MODULES(CAIRO, cairo,
[wx_has_graphics=1],
[AC_MSG_WARN([Cairo library not found])]