gnucash maint: Fix incorrect signature error with Cmake >= 3.6 and Webkit1.

John Ralls jralls at code.gnucash.org
Fri Sep 13 13:52:37 EDT 2019


Updated	 via  https://github.com/Gnucash/gnucash/commit/c675b5b5 (commit)
	from  https://github.com/Gnucash/gnucash/commit/355d28e7 (commit)



commit c675b5b5e4f8d52247829c8a80664e73915229cf
Author: Matthew Forbis <mdforbis at forbii.com>
Date:   Fri Sep 13 10:52:28 2019 -0700

    Fix incorrect signature error with Cmake >= 3.6 and Webkit1.

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0654dfb5a..91cbfe3ce 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -217,9 +217,9 @@ if (WITH_GNUCASH)
       pkg_check_modules (WEBKIT REQUIRED IMPORTED_TARGET webkitgtk-3.0)
     else()
       pkg_check_modules (WEBKIT REQUIRED webkitgtk-3.0)
+      _pkg_create_imp_target(WEBKIT)
     endif()
     set(WEBKIT1 1 CACHE INTERNAL "WebKitGtk")
-    _pkg_create_imp_target(WEBKIT)
   else (WIN32 OR APPLE)
     If (NOT CMAKE_VERSION VERSION_LESS 3.6)
       pkg_check_modules (WEBKIT IMPORTED_TARGET webkit2gtk-4.0)



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



More information about the gnucash-changes mailing list