From 8937c60b6a65ba270439fee89d8fcc02877bcb30 Mon Sep 17 00:00:00 2001 From: samelian Date: Fri, 18 Feb 2011 15:18:46 +0000 Subject: [kdebase/kdebase] fixed pam support git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1221507 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdesktop/CMakeLists.txt | 2 ++ kdesktop/ConfigureChecks.cmake | 16 ++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 kdesktop/ConfigureChecks.cmake (limited to 'kdesktop') diff --git a/kdesktop/CMakeLists.txt b/kdesktop/CMakeLists.txt index 91bb06476..321c90c3c 100644 --- a/kdesktop/CMakeLists.txt +++ b/kdesktop/CMakeLists.txt @@ -9,6 +9,8 @@ # ################################################# +include( ConfigureChecks.cmake ) + add_subdirectory( lock ) add_subdirectory( pics ) add_subdirectory( patterns ) diff --git a/kdesktop/ConfigureChecks.cmake b/kdesktop/ConfigureChecks.cmake new file mode 100644 index 000000000..da78021ff --- /dev/null +++ b/kdesktop/ConfigureChecks.cmake @@ -0,0 +1,16 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +# FIXME: KSCREENSAVER_PAM_SERVICE should be "kde" or "kscreensaver"? + +if( WITH_PAM AND (NOT DEFINED KSCREENSAVER_PAM_SERVICE) ) + set( KSCREENSAVER_PAM_SERVICE "kde" CACHE INTERNAL "" ) +endif( ) -- cgit v1.2.1