gnucash master: Fix build with cmake > 3.5

Geert Janssens gjanssens at code.gnucash.org
Sun Jul 9 06:46:21 EDT 2017


Updated	 via  https://github.com/Gnucash/gnucash/commit/a7f1f9cd (commit)
	from  https://github.com/Gnucash/gnucash/commit/a6678e6a (commit)



commit a7f1f9cdd74881285ca25acf96f0650ee2aecce4
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Sun Jul 9 12:45:01 2017 +0200

    Fix build with cmake > 3.5

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9745fb6..563a4a6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -166,7 +166,7 @@ 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 OPTIONAL webkit2gtk-4.0)
+GNC_PKG_CHECK_MODULES (WEBKIT webkit2gtk-4.0)
 IF (NOT WEBKIT_FOUND)
   GNC_PKG_CHECK_MODULES (WEBKIT REQUIRED webkit2gtk-3.0)
   IF (WIN32)



Summary of changes:
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



More information about the gnucash-changes mailing list