gnucash maint: Accomodate WebKit package version update to webkit2gtk-4.1.
John Ralls
jralls at code.gnucash.org
Tue Oct 18 18:50:16 EDT 2022
Updated via https://github.com/Gnucash/gnucash/commit/70958279 (commit)
from https://github.com/Gnucash/gnucash/commit/9a141a8c (commit)
commit 70958279b2bc61fa13fa4ea864e88dc6e009392b
Author: John Ralls <jralls at ceridwen.us>
Date: Tue Oct 18 14:46:19 2022 -0700
Accomodate WebKit package version update to webkit2gtk-4.1.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ea1f99ca8..f3958ba25 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -211,7 +211,10 @@ 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 IMPORTED_TARGET webkit2gtk-4.0>=2.14.0)
+ if (NOT WEBKIT_FOUND)
+ pkg_check_modules (WEBKIT REQUIRED IMPORTED_TARGET webkit2gtk-4.1)
+ endif()
set(WEBKIT2 1 CACHE INTERNAL "WebKit2Gtk4")
endif()
Summary of changes:
CMakeLists.txt | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
More information about the gnucash-changes
mailing list