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:
authorGiovanni Panozzo <giovanni@panozzo.it>2022-11-08 11:07:55 +0300
committerGiovanni Panozzo <giovanni@panozzo.it>2022-11-08 11:07:55 +0300
commit79b6ea91160340badfad98a66d0405d3c3d9c8df (patch)
tree29f107755ad413907610c7b53caab95348b3a534 /plugins/rdp/CMakeLists.txt
parent38ee9d1465fee3e802c62a5a1acf69d178f87a8b (diff)
parent5dc5d3809b110feea6c25a1b0044db9e64af0830 (diff)
Merge branch 'oct29' into 'master'
Allow building on a Wayland-only environment - version 4 See merge request Remmina/Remmina!2437
Diffstat (limited to 'plugins/rdp/CMakeLists.txt')
-rw-r--r--plugins/rdp/CMakeLists.txt13
1 files changed, 6 insertions, 7 deletions
diff --git a/plugins/rdp/CMakeLists.txt b/plugins/rdp/CMakeLists.txt
index dcb254208..034faeed4 100644
--- a/plugins/rdp/CMakeLists.txt
+++ b/plugins/rdp/CMakeLists.txt
@@ -35,7 +35,6 @@
set(CMAKE_THREAD_PREFER_PTHREAD TRUE)
find_package(Threads REQUIRED)
-find_package(X11)
find_suggested_package(Cups)
@@ -73,13 +72,13 @@ set_target_properties(remmina-plugin-rdp PROPERTIES PREFIX "")
set_target_properties(remmina-plugin-rdp PROPERTIES NO_SONAME 1)
if(WITH_FREERDP3)
- include_directories(${REMMINA_COMMON_INCLUDE_DIRS} ${FREERDP3_INCLUDE_DIRS} ${X11_INCLUDE_DIR})
+ include_directories(${REMMINA_COMMON_INCLUDE_DIRS} ${FREERDP3_INCLUDE_DIRS})
target_link_libraries(remmina-plugin-rdp
- ${REMMINA_COMMON_LIBRARIES} ${FREERDP3_LIBRARIES} ${X11_LIBRARIES})
+ ${REMMINA_COMMON_LIBRARIES} ${FREERDP3_LIBRARIES})
else()
- include_directories(${REMMINA_COMMON_INCLUDE_DIRS} ${FREERDP_INCLUDE_DIRS} ${X11_INCLUDE_DIR})
+ include_directories(${REMMINA_COMMON_INCLUDE_DIRS} ${FREERDP_INCLUDE_DIRS})
target_link_libraries(remmina-plugin-rdp
- ${REMMINA_COMMON_LIBRARIES} ${FREERDP_LIBRARIES} ${X11_LIBRARIES})
+ ${REMMINA_COMMON_LIBRARIES} ${FREERDP_LIBRARIES})
endif()
if(CUPS_FOUND)
@@ -87,10 +86,10 @@ if(CUPS_FOUND)
include_directories(${CUPS_INCLUDE_DIR})
if(WITH_FREERDP3)
target_link_libraries(remmina-plugin-rdp
- ${REMMINA_COMMON_LIBRARIES} ${FREERDP3_LIBRARIES} ${X11_LIBRARIES} ${CUPS_LIBRARIES})
+ ${REMMINA_COMMON_LIBRARIES} ${FREERDP3_LIBRARIES} ${CUPS_LIBRARIES})
else()
target_link_libraries(remmina-plugin-rdp
- ${REMMINA_COMMON_LIBRARIES} ${FREERDP_LIBRARIES} ${X11_LIBRARIES} ${CUPS_LIBRARIES})
+ ${REMMINA_COMMON_LIBRARIES} ${FREERDP_LIBRARIES} ${CUPS_LIBRARIES})
endif()
endif()