Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/Remmina/Remmina.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntenore Gatta <antenore@simbiosi.org>2022-03-08 11:00:05 +0300
committerAntenore Gatta <antenore@simbiosi.org>2022-03-08 11:00:05 +0300
commit2afe1cd3749d5c1391cb1d9771645b1668c7a676 (patch)
tree78ca7b156f53f230d2f702f93d2abdfaae00ff2c /plugins
parent278a8d94252554d89512abaf5429b512fafc22f2 (diff)
Fixing missing webkit dependencies
Signed-off-by: Antenore Gatta <antenore@simbiosi.org>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/CMakeLists.txt2
-rw-r--r--plugins/www/CMakeLists.txt10
2 files changed, 9 insertions, 3 deletions
diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt
index b3e5daed4..1075bd7fd 100644
--- a/plugins/CMakeLists.txt
+++ b/plugins/CMakeLists.txt
@@ -103,7 +103,7 @@ if(WITH_WWW)
message(STATUS "Enabling WWW plugin.")
add_definitions(-DWITH_WWW)
find_suggested_package(WEBKIT2GTK)
- if(_WEBKIT2GTKFOUND)
+ if(WEBKIT2GTK_FOUND)
add_subdirectory(www)
endif()
else()
diff --git a/plugins/www/CMakeLists.txt b/plugins/www/CMakeLists.txt
index 445646b19..cd1ab3a32 100644
--- a/plugins/www/CMakeLists.txt
+++ b/plugins/www/CMakeLists.txt
@@ -44,8 +44,14 @@ set_target_properties(remmina-plugin-www PROPERTIES PREFIX "")
set_target_properties(remmina-plugin-www PROPERTIES NO_SONAME 1)
add_definitions(${WEBKIT2GTK_CFLAGS_OTHER})
-include_directories(${REMMINA_COMMON_INCLUDE_DIRS} ${GTK_INCLUDE_DIRS} ${WEBKIT2GTK_INCLUDE_DIRS})
-target_link_libraries(remmina-plugin-www ${REMMINA_COMMON_LIBRARIES} ${WEBKIT2GTK_LIBRARIES})
+
+find_required_package(LIBSOUP24)
+if(LIBSOUP24_FOUND)
+ include_directories(${REMMINA_COMMON_INCLUDE_DIRS} ${WEBKIT2GTK_INCLUDE_DIRS} ${LIBSOUP24_INCLUDE_DIRS})
+ target_link_libraries(remmina-plugin-www ${REMMINA_COMMON_LIBRARIES} ${LIBSOUP24_LIBRARIES} ${WEBKIT2GTK_LIBRARIES})
+else()
+ message(FATAL_ERROR "libsoup 2.4 library not found")
+endif()
install(TARGETS remmina-plugin-www DESTINATION ${REMMINA_PLUGINDIR})