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>2019-12-10 16:18:07 +0300
committerAntenore Gatta <antenore@simbiosi.org>2019-12-10 16:18:07 +0300
commitfaa91915213d86b792d7fca491d199aea2243062 (patch)
tree31f442a15e1ecfebbcc56396971d19a6dafb90a3 /plugins/rdp/CMakeLists.txt
parentf298ffd7355de200cef3d1dcab8f1d64dd55fc73 (diff)
Adding cmake option to cuse latest FreeRDP symbols when compiling. Fixes #2024
Diffstat (limited to 'plugins/rdp/CMakeLists.txt')
-rw-r--r--plugins/rdp/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/rdp/CMakeLists.txt b/plugins/rdp/CMakeLists.txt
index 90c8966b7..866a015fd 100644
--- a/plugins/rdp/CMakeLists.txt
+++ b/plugins/rdp/CMakeLists.txt
@@ -60,6 +60,12 @@ add_definitions(-DFREERDP_REQUIRED_MAJOR=${FREERDP_REQUIRED_MAJOR})
add_definitions(-DFREERDP_REQUIRED_MINOR=${FREERDP_REQUIRED_MINOR})
add_definitions(-DFREERDP_REQUIRED_REVISION=${FREERDP_REQUIRED_REVISION})
+option(WITH_FREERDP_MASTER "Compile the RDP plugin using symbols from FreeRDP master branch." OFF)
+if(WITH_FREERDP_MASTER)
+ message(STATUS "Compiling the RDP plugin using symbols from FreeRDP master branch.")
+ add_definitions(-DWITH_FREERDP_MASTER=ON)
+endif()
+
add_library(remmina-plugin-rdp MODULE ${REMMINA_PLUGIN_RDP_SRCS})
set_target_properties(remmina-plugin-rdp PROPERTIES PREFIX "")
set_target_properties(remmina-plugin-rdp PROPERTIES NO_SONAME 1)