Skip to content

Commit

Permalink
Merge pull request #742 from weberhofer/patch-4
Browse files Browse the repository at this point in the history
rdp-plugin requires x11 libraries
  • Loading branch information
antenore committed Jan 25, 2016
2 parents 297fa20 + f2d76ae commit 4b13bb8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions remmina-plugins/rdp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@

set(CMAKE_THREAD_PREFER_PTHREAD)
find_package(Threads)
find_package(X11)

set(REMMINA_PLUGIN_RDP_SRCS
rdp_plugin.c
Expand Down Expand Up @@ -62,8 +63,8 @@ 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)

include_directories(${REMMINA_COMMON_INCLUDE_DIRS} ${FREERDP_INCLUDE_DIRS})
target_link_libraries(remmina-plugin-rdp ${REMMINA_COMMON_LIBRARIES} ${FREERDP_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})

install(TARGETS remmina-plugin-rdp DESTINATION ${REMMINA_PLUGINDIR})

Expand Down

0 comments on commit 4b13bb8

Please sign in to comment.