summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorAlexander Golubev <[email protected]>2014-04-07 00:41:17 +0400
committerSlávek Banko <[email protected]>2014-04-29 01:54:05 +0200
commit30252262ce90415f09232c51724a393c8dd6a7fe (patch)
tree7b1585a127436ef4c88d37a877013f759c51e652 /ConfigureChecks.cmake
parent394545c24c0e31d84ccb3d008c8da7c2e1f06451 (diff)
downloadtdebase-30252262ce90415f09232c51724a393c8dd6a7fe.tar.gz
tdebase-30252262ce90415f09232c51724a393c8dd6a7fe.zip
Move the Xinerama test to main ConfigureChecks.cmake
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake13
1 files changed, 12 insertions, 1 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 34aff70fb..f89bfa09f 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -83,7 +83,7 @@ if( WITH_XRENDER OR BUILD_KDESKTOP OR BUILD_KONSOLE OR BUILD_KCONTROL OR BUILD_K
endif( )
-# xrandr (kcontrol)
+# xrandr (kcontrol, twin/compot-tde)
if( WITH_XRANDR )
pkg_search_module( XRANDR xrandr )
if( NOT XRANDR_FOUND )
@@ -92,6 +92,17 @@ if( WITH_XRANDR )
endif( )
+# xinerama (ksplashml, twin/compot-tde)
+if( WITH_XINERAMA )
+ pkg_search_module( XINERAMA xinerama )
+ if( XINERAMA_FOUND )
+ set( HAVE_XINERAMA 1 )
+ else( )
+ tde_message_fatal( "xinerama is requested, but not found on your system" )
+ endif( )
+endif( WITH_XINERAMA )
+
+
# xcursor (tdeioslave, kcontrol)
if( WITH_XCURSOR )
pkg_search_module( XCURSOR xcursor )