From 30252262ce90415f09232c51724a393c8dd6a7fe Mon Sep 17 00:00:00 2001 From: Alexander Golubev Date: Mon, 7 Apr 2014 00:41:17 +0400 Subject: Move the Xinerama test to main ConfigureChecks.cmake --- ConfigureChecks.cmake | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'ConfigureChecks.cmake') 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 ) -- cgit v1.2.1