Skip to content

Commit

Permalink
use webkit2gtk-4.1 when available and 4.0 as fallback
Browse files Browse the repository at this point in the history
This is derived from 7ac8805 by oreo639 <[email protected]>,
but only the part necessary after 4c76a4c.
  • Loading branch information
oreo639 authored and jorsn committed Jun 4, 2024
1 parent 4c76a4c commit 52641da
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,10 @@ endif()

pkg_check_modules (GTKMM3 REQUIRED gtkmm-3.0>=3.10)
pkg_check_modules (GLIBMM2 REQUIRED glibmm-2.4)
pkg_check_modules (WEBKIT2GTK REQUIRED webkit2gtk-4.0>=2.22)
pkg_check_modules (WEBKIT2GTK webkit2gtk-4.1)
if (NOT WEBKIT2GTK_FOUND)
pkg_check_modules (WEBKIT2GTK REQUIRED webkit2gtk-4.0>=2.22)
endif ()
pkg_check_modules (SASS REQUIRED libsass)
pkg_check_modules (GIOMM2 REQUIRED giomm-2.4)
pkg_check_modules (GIOUNIX REQUIRED gio-unix-2.0>=2.16)
Expand Down

0 comments on commit 52641da

Please sign in to comment.