Check for package webkitgtk-3.0 (webkit1 API) on Windows.

Webkit2 isn't supported on Windows.
This commit is contained in:
John Ralls 2017-07-09 10:04:35 -07:00
parent 85d868f826
commit 8655dbc55c

View File

@ -170,17 +170,18 @@ GNC_PKG_CHECK_MODULES (GTHREAD REQUIRED gthread-2.0>=2.20)
GNC_PKG_CHECK_MODULES (LIBXML2 REQUIRED libxml-2.0>=2.7.0)
GNC_PKG_CHECK_MODULES (LIBXSLT REQUIRED libxslt)
GNC_PKG_CHECK_MODULES (WEBKIT webkit2gtk-4.0)
IF (NOT WEBKIT_FOUND)
GNC_PKG_CHECK_MODULES (WEBKIT REQUIRED webkit2gtk-3.0)
IF (WIN32)
IF (WIN32)
GNC_PKG_CHECK_MODULES (WEBKIT REQUIRED webkitgtk-3.0)
SET(WEBKIT1 1)
ELSE (WIN32)
ELSE (WIN32)
GNC_PKG_CHECK_MODULES (WEBKIT webkit2gtk-4.0)
IF (NOT WEBKIT_FOUND)
GNC_PKG_CHECK_MODULES (WEBKIT REQUIRED webkit2gtk-3.0)
SET(WEBKIT2_3 1)
ENDIF (WIN32)
ELSE (NOT WEBKIT_FOUND)
ELSE (NOT WEBKIT_FOUND)
SET(WEBKIT2_4 1)
ENDIF (NOT WEBKIT_FOUND)
ENDIF (NOT WEBKIT_FOUND)
ENDIF (WIN32)
IF (WITH_GNUCASH)
GNC_PKG_CHECK_MODULES (GTK3 REQUIRED gtk+-3.0>=3.14.0)