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 --- kcontrol/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kcontrol') diff --git a/kcontrol/CMakeLists.txt b/kcontrol/CMakeLists.txt index dab1a20da..ced7671ef 100644 --- a/kcontrol/CMakeLists.txt +++ b/kcontrol/CMakeLists.txt @@ -65,14 +65,14 @@ if( BUILD_KCONTROL ) add_subdirectory( kthememanager ) add_subdirectory( kfontinst ) add_subdirectory( access ) - add_subdirectory( displayconfig ) + tde_conditional_add_subdirectory( WITH_XRANDR displayconfig ) tde_conditional_add_subdirectory( WITH_SAMBA samba ) tde_conditional_add_subdirectory( WITH_XRANDR randr ) tde_conditional_add_subdirectory( WITH_LIBRAW1394 view1394 ) if( ${CMAKE_SYSTEM_NAME} STREQUAL "Linux" ) - add_subdirectory( iccconfig ) + tde_conditional_add_subdirectory( WITH_XRANDR iccconfig ) add_subdirectory( joystick ) endif( ) -- cgit v1.2.1