summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kdm/backend/CMakeLists.txt8
-rw-r--r--libkonq/CMakeLists.txt1
2 files changed, 8 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}
)
diff --git a/libkonq/CMakeLists.txt b/libkonq/CMakeLists.txt
index b96a8caa0..4ced51f33 100644
--- a/libkonq/CMakeLists.txt
+++ b/libkonq/CMakeLists.txt
@@ -21,6 +21,7 @@ include_directories(
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
${ARTS_INCLUDE_DIRS}
+ ${TDE_INCLUDE_DIR}/arts/
)
link_directories(