From a5baef50dc920632f9400f74f763b1671c36d63e Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 29 Oct 2011 20:12:44 +0000 Subject: Allow kdebase compilation with optional xrandr support disabled 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 --- kdm/kfrontend/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'kdm/kfrontend/CMakeLists.txt') 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} ) -- cgit v1.2.1