diff options
Diffstat (limited to 'plugins/rdp')
-rw-r--r-- | plugins/rdp/CMakeLists.txt | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/plugins/rdp/CMakeLists.txt b/plugins/rdp/CMakeLists.txt index a84534461..414a4a4fc 100644 --- a/plugins/rdp/CMakeLists.txt +++ b/plugins/rdp/CMakeLists.txt @@ -40,23 +40,23 @@ find_package(X11) find_suggested_package(Cups) set(REMMINA_PLUGIN_RDP_SRCS - rdp_plugin.c - rdp_plugin.h - rdp_event.c - rdp_event.h - rdp_file.c - rdp_file.h - rdp_settings.c - rdp_settings.h - rdp_graphics.c - rdp_graphics.h - rdp_cliprdr.c - rdp_cliprdr.h - rdp_monitor.c - rdp_monitor.h - rdp_channels.c - rdp_channels.h - ) + rdp_plugin.c + rdp_plugin.h + rdp_event.c + rdp_event.h + rdp_file.c + rdp_file.h + rdp_settings.c + rdp_settings.h + rdp_graphics.c + rdp_graphics.h + rdp_cliprdr.c + rdp_cliprdr.h + rdp_monitor.c + rdp_monitor.h + rdp_channels.c + rdp_channels.h + ) add_definitions(-DFREERDP_REQUIRED_MAJOR=${FREERDP_REQUIRED_MAJOR}) add_definitions(-DFREERDP_REQUIRED_MINOR=${FREERDP_REQUIRED_MINOR}) @@ -64,8 +64,8 @@ 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) + 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}) @@ -73,25 +73,25 @@ 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}) - target_link_libraries(remmina-plugin-rdp - ${REMMINA_COMMON_LIBRARIES} ${FREERDP3_LIBRARIES} ${X11_LIBRARIES}) + include_directories(${REMMINA_COMMON_INCLUDE_DIRS} ${FREERDP3_INCLUDE_DIRS} ${X11_INCLUDE_DIR}) + target_link_libraries(remmina-plugin-rdp + ${REMMINA_COMMON_LIBRARIES} ${FREERDP3_LIBRARIES} ${X11_LIBRARIES}) else() - include_directories(${REMMINA_COMMON_INCLUDE_DIRS} ${FREERDP_INCLUDE_DIRS} ${X11_INCLUDE_DIR}) - target_link_libraries(remmina-plugin-rdp - ${REMMINA_COMMON_LIBRARIES} ${FREERDP_LIBRARIES} ${X11_LIBRARIES}) + include_directories(${REMMINA_COMMON_INCLUDE_DIRS} ${FREERDP_INCLUDE_DIRS} ${X11_INCLUDE_DIR}) + target_link_libraries(remmina-plugin-rdp + ${REMMINA_COMMON_LIBRARIES} ${FREERDP_LIBRARIES} ${X11_LIBRARIES}) endif() if(CUPS_FOUND) add_definitions(-DHAVE_CUPS) include_directories(${CUPS_INCLUDE_DIR}) -if(WITH_FREERDP3) - target_link_libraries(remmina-plugin-rdp - ${REMMINA_COMMON_LIBRARIES} ${FREERDP3_LIBRARIES} ${X11_LIBRARIES} ${CUPS_LIBRARIES}) -else() - target_link_libraries(remmina-plugin-rdp - ${REMMINA_COMMON_LIBRARIES} ${FREERDP_LIBRARIES} ${X11_LIBRARIES} ${CUPS_LIBRARIES}) -endif() + if(WITH_FREERDP3) + target_link_libraries(remmina-plugin-rdp + ${REMMINA_COMMON_LIBRARIES} ${FREERDP3_LIBRARIES} ${X11_LIBRARIES} ${CUPS_LIBRARIES}) + else() + target_link_libraries(remmina-plugin-rdp + ${REMMINA_COMMON_LIBRARIES} ${FREERDP_LIBRARIES} ${X11_LIBRARIES} ${CUPS_LIBRARIES}) + endif() endif() install(TARGETS remmina-plugin-rdp DESTINATION ${REMMINA_PLUGINDIR}) |