diff options
author | Antenore Gatta (tmow) <antenore@simbiosi.org> | 2022-10-03 20:38:35 +0300 |
---|---|---|
committer | Antenore Gatta (tmow) <antenore@simbiosi.org> | 2022-10-03 20:38:35 +0300 |
commit | edbaeb1b588edc0e969b0eedd731758aad369391 (patch) | |
tree | 9c865a0d2d6319d77c0c369819a37188837028c7 /plugins | |
parent | 30629c1629c7ac15f00340e8d205be59eade1ce9 (diff) |
Multiple changes to build and run with libsoup 3.0
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/www/CMakeLists.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/www/CMakeLists.txt b/plugins/www/CMakeLists.txt index cd1ab3a32..39f44a0c7 100644 --- a/plugins/www/CMakeLists.txt +++ b/plugins/www/CMakeLists.txt @@ -45,12 +45,12 @@ set_target_properties(remmina-plugin-www PROPERTIES NO_SONAME 1) add_definitions(${WEBKIT2GTK_CFLAGS_OTHER}) -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}) +find_required_package(LIBSOUP) +if(LIBSOUP_FOUND) + include_directories(${REMMINA_COMMON_INCLUDE_DIRS} ${WEBKIT2GTK_INCLUDE_DIRS} ${LIBSOUP_INCLUDE_DIRS}) + target_link_libraries(remmina-plugin-www ${REMMINA_COMMON_LIBRARIES} ${LIBSOUP_LIBRARIES} ${WEBKIT2GTK_LIBRARIES}) else() - message(FATAL_ERROR "libsoup 2.4 library not found") + message(FATAL_ERROR "libsoup library not found") endif() install(TARGETS remmina-plugin-www DESTINATION ${REMMINA_PLUGINDIR}) |