summaryrefslogtreecommitdiffstats
path: root/kdm
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-03 15:58:51 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-03 15:58:51 +0000
commit3e8d5bcf0f9f1f662226d0acddcf129ad8f2b910 (patch)
tree57a895dc5a71ead50df308a555d2370588f2d78a /kdm
parent4e660380ca5d0f99054b9325f21f399f6ce5f467 (diff)
downloadtdebase-3e8d5bcf0f9f1f662226d0acddcf129ad8f2b910.tar.gz
tdebase-3e8d5bcf0f9f1f662226d0acddcf129ad8f2b910.zip
Fix a couple of kdebase build errors on non-Ubuntu platforms
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1251212 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdm')
-rw-r--r--kdm/backend/CMakeLists.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/kdm/backend/CMakeLists.txt b/kdm/backend/CMakeLists.txt
index c70353bd6..1beb5c0d8 100644
--- a/kdm/backend/CMakeLists.txt
+++ b/kdm/backend/CMakeLists.txt
@@ -29,6 +29,12 @@ add_custom_command( OUTPUT config.ci
set_property( SOURCE auth.c APPEND PROPERTY OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/config.ci )
+if( WITH_XDMCP )
+ set( XDMCP_LIBRARIES " -lXdmcp" )
+else()
+ set( XDMCP_LIBRARIES "" )
+endif()
+
tde_add_executable( kdm
SOURCES
access.c auth.c bootman.c choose.c client.c consolekit.c
@@ -37,6 +43,6 @@ tde_add_executable( kdm
process.c protodpy.c reset.c resource.c rpcauth.c
server.c session.c sessreg.c socket.c streams.c
util.c xdmauth.c xdmcp.c
- LINK X11 ${XAU_LIBRARIES} ${DBUS_TQT_LIBRARIES} ${PAM_LIBRARY}
+ LINK X11 ${XAU_LIBRARIES} ${DBUS_TQT_LIBRARIES} ${PAM_LIBRARY} ${XDMCP_LIBRARIES}
DESTINATION ${BIN_INSTALL_DIR}
)