Skip to content

Commit

Permalink
Fix cmake failing with webkitgtk-4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
anjaldoshi committed Sep 29, 2024
1 parent bd26980 commit fcc44ae
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,13 @@ elseif(LINUX)
find_package(CURL REQUIRED)
find_package(PkgConfig REQUIRED)
find_package(Fontconfig REQUIRED)
pkg_check_modules(WEBKIT2GTK REQUIRED webkit2gtk-4.0)

pkg_check_modules(WEBKIT2GTK QUIET webkit2gtk-4.0)
if (NOT WEBKIT2GTK_FOUND)
message(STATUS "webkit2gtk-4.0 not found. Looking for webkit2gtk-4.1...")
pkg_check_modules(WEBKIT2GTK REQUIRED webkit2gtk-4.1)
endif()

# pkg_check_modules(GTK REQUIRED gtk+-3.0)

target_include_directories(open-ephys PRIVATE
Expand Down

0 comments on commit fcc44ae

Please sign in to comment.