mirror of https://github.com/FreeRDP/FreeRDP
[client,SDL] add webkit2gtk4.1 support
This commit is contained in:
parent
cf586b4d2e
commit
42f1da7132
|
@ -61,7 +61,10 @@ if (WITH_WEBVIEW)
|
|||
)
|
||||
else()
|
||||
find_package(PkgConfig REQUIRED)
|
||||
pkg_check_modules(WEBVIEW_GTK webkit2gtk-4.0 REQUIRED)
|
||||
pkg_check_modules(WEBVIEW_GTK webkit2gtk-4.1)
|
||||
if (NOT WEBVIEW_GTK_FOUND)
|
||||
pkg_check_modules(WEBVIEW_GTK webkit2gtk-4.0 REQUIRED)
|
||||
endif()
|
||||
include_directories(${WEBVIEW_GTK_INCLUDE_DIRS})
|
||||
list(APPEND LIBS
|
||||
${WEBVIEW_GTK_LIBRARIES}
|
||||
|
|
|
@ -50,7 +50,7 @@ Build-Depends:
|
|||
libsdl3-ttf-dev | libsdl2-ttf-dev,
|
||||
libsdl3-image-dev | libsdl2-image-dev,
|
||||
libsystemd-dev,
|
||||
libwebkit2gtk-4.0-dev,
|
||||
libwebkit2gtk-4.1-dev | libwebkit2gtk-4.0-dev,
|
||||
liburiparser-dev,
|
||||
libopus-dev,
|
||||
libwebp-dev,
|
||||
|
|
Loading…
Reference in New Issue