Blame SOURCES/kde-workspace-4.10.2-BUILD_KCM_RANDR.patch

b5cc75
diff -up kde-workspace-4.10.2/kcontrol/CMakeLists.txt.BUILD_KCM_RANDR kde-workspace-4.10.2/kcontrol/CMakeLists.txt
b5cc75
--- kde-workspace-4.10.2/kcontrol/CMakeLists.txt.BUILD_KCM_RANDR	2013-03-01 00:32:25.040847159 -0600
b5cc75
+++ kde-workspace-4.10.2/kcontrol/CMakeLists.txt	2013-04-18 08:58:31.086753204 -0500
b5cc75
@@ -6,9 +6,10 @@ macro_log_feature(FREETYPE_FOUND "FreeTy
b5cc75
 set(libkxftconfig_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/fonts/kxftconfig.cpp )
b5cc75
 
b5cc75
 
b5cc75
-if( X11_Xrandr_FOUND )
b5cc75
+OPTION(BUILD_KCM_RANDR "Build kcontrol/randr module" ON)
b5cc75
+if(BUILD_KCM_RANDR AND X11_Xrandr_FOUND)
b5cc75
    add_subdirectory( randr )
b5cc75
-endif(X11_Xrandr_FOUND )
b5cc75
+endif(BUILD_KCM_RANDR AND X11_Xrandr_FOUND)
b5cc75
 
b5cc75
 if(X11_Xkb_FOUND)
b5cc75
     add_subdirectory( keyboard )