summaryrefslogtreecommitdiffstats
path: root/kdm/ConfigureChecks.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'kdm/ConfigureChecks.cmake')
-rw-r--r--kdm/ConfigureChecks.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/kdm/ConfigureChecks.cmake b/kdm/ConfigureChecks.cmake
index 2ac6dbd29..162a8a6ba 100644
--- a/kdm/ConfigureChecks.cmake
+++ b/kdm/ConfigureChecks.cmake
@@ -106,6 +106,17 @@ if( NOT XAU_FOUND )
endif()
+# xdmcp
+if( WITH_XDMCP )
+ pkg_search_module( XDMCP xdmcp )
+ if( XDMCP_FOUND )
+ set( XDMCP 1 CACHE INTERNAL "" FORCE )
+ else()
+ tde_message_fatal( "xdmcp is requested, but was not found on your system" )
+ endif()
+endif()
+
+
if( WITH_PAM )
set( USE_PAM 1 CACHE INTERNAL "" FORCE )