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

This commit is contained in:
Matthew Forbis
2019-09-13 10:52:28 -07:00
committed by John Ralls
parent 355d28e721
commit c675b5b5e4

View File

@@ -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)