Skip to content

Commit

Permalink
Fix incorrect signature error with Cmake >= 3.6 and Webkit1.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Forbis authored and jralls committed Sep 13, 2019
1 parent 355d28e commit c675b5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c675b5b

Please sign in to comment.