gnucash master: Fix build on ubuntu 18.04.

John Ralls jralls at code.gnucash.org
Sat Apr 25 00:51:25 EDT 2020


Updated	 via  https://github.com/Gnucash/gnucash/commit/bf6f4634 (commit)
	from  https://github.com/Gnucash/gnucash/commit/a8ae00c5 (commit)



commit bf6f46341916e567fea4f1ac9916733c27a611e9
Author: John Ralls <jralls at ceridwen.us>
Date:   Fri Apr 24 21:51:13 2020 -0700

    Fix build on ubuntu 18.04.
    
    Apparently that version of cmake's pkg_check_modules chokes on pkg>x.x.x.

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6d3274969..b10938c83 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -206,7 +206,7 @@ if (WITH_GNUCASH)
     pkg_check_modules (WEBKIT REQUIRED IMPORTED_TARGET webkitgtk-3.0)
     set(WEBKIT1 1 CACHE INTERNAL "WebKitGtk")
   else()
-    pkg_check_modules (WEBKIT REQUIRED IMPORTED_TARGET webkit2gtk-4.0>2.14.0)
+    pkg_check_modules (WEBKIT REQUIRED IMPORTED_TARGET webkit2gtk-4.0>=2.14.0)
     set(WEBKIT2 1 CACHE INTERNAL "WebKit2Gtk4")
   endif()
 



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



More information about the gnucash-changes mailing list