diff options
author | Antenore Gatta <antenore@simbiosi.org> | 2022-03-08 11:00:05 +0300 |
---|---|---|
committer | Antenore Gatta <antenore@simbiosi.org> | 2022-03-08 11:00:05 +0300 |
commit | 2afe1cd3749d5c1391cb1d9771645b1668c7a676 (patch) | |
tree | 78ca7b156f53f230d2f702f93d2abdfaae00ff2c /plugins/www/CMakeLists.txt | |
parent | 278a8d94252554d89512abaf5429b512fafc22f2 (diff) |
Fixing missing webkit dependencies
Signed-off-by: Antenore Gatta <antenore@simbiosi.org>
Diffstat (limited to 'plugins/www/CMakeLists.txt')
-rw-r--r-- | plugins/www/CMakeLists.txt | 10 |
1 files changed, 8 insertions, 2 deletions
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}) |