summaryrefslogtreecommitdiffstats
path: root/kdm/kfrontend/CMakeLists.txt
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-10-29 20:12:44 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-10-29 20:12:44 +0000
commita5baef50dc920632f9400f74f763b1671c36d63e (patch)
treea1e98ac7be77fdda6d3783615f7b628ff4c632a2 /kdm/kfrontend/CMakeLists.txt
parentc95d8deaf121c1971dd7dc0a7c0c5459b308d9d7 (diff)
downloadtdebase-a5baef50dc920632f9400f74f763b1671c36d63e.tar.gz
tdebase-a5baef50dc920632f9400f74f763b1671c36d63e.zip
Allow kdebase compilation with optional xrandr support disabledv3.5.13
Thanks to Francois Andriot for the patch! git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1261450 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdm/kfrontend/CMakeLists.txt')
-rw-r--r--kdm/kfrontend/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/kdm/kfrontend/CMakeLists.txt b/kdm/kfrontend/CMakeLists.txt
index aaff8085d..e3093b0fe 100644
--- a/kdm/kfrontend/CMakeLists.txt
+++ b/kdm/kfrontend/CMakeLists.txt
@@ -57,6 +57,9 @@ tde_add_executable( kdm_config
##### kdm_greet (executable) ####################
+if( WITH_XRANDR )
+ set( KDMGREET_OPTIONAL_LINK "krandr-shared" )
+endif ( )
tde_add_executable( kdm_greet AUTOMOC
SOURCES
@@ -64,7 +67,7 @@ tde_add_executable( kdm_greet AUTOMOC
kfdialog.cpp kgdialog.cpp kchooser.cpp kgverify.cpp
kdmshutdown.cpp kdmadmindialog.cpp kgreeter.cpp
kgapp.cpp sakdlg.cc
- LINK kdmthemer-static kdeui-shared Xtst krandr-shared
+ LINK kdmthemer-static kdeui-shared Xtst ${KDMGREET_OPTIONAL_LINK}
DESTINATION ${BIN_INSTALL_DIR}
)