From 3c75381e05b6443906527f2c2513455309578ea8 Mon Sep 17 00:00:00 2001 From: Alexander Golubev Date: Sun, 6 Apr 2014 03:46:07 +0400 Subject: Remove useless cmake configuration options WITH_XEXT and WITH_XDAMAGE --- ConfigureChecks.cmake | 34 ++++++++++++++-------------------- 1 file changed, 14 insertions(+), 20 deletions(-) (limited to 'ConfigureChecks.cmake') diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index ca0e235b0..bd37b3477 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -102,6 +102,20 @@ if( WITH_XCOMPOSITE ) else( XCOMPOSITE_FOUND ) tde_message_fatal( "xcomposite is requested, but was not found on your system" ) endif( XCOMPOSITE_FOUND ) + + + # xdamage (twin/kompmgr) + pkg_search_module( XDAMAGE xdamage ) + if( NOT XDAMAGE_FOUND ) + tde_message_fatal( "xdamage is required for xcomposite support, but was not found on your system" ) + endif( ) + + # xext (twin/kompmgr) + pkg_search_module( XEXT xext ) + if( NOT XEXT_FOUND ) + tde_message_fatal( "xext is required for xcomposite support, but was not found on your system" ) + endif( ) + endif( ) @@ -116,26 +130,6 @@ if( WITH_XFIXES ) endif( ) -# xdamage (twin/kompmgr) -if( WITH_XDAMAGE ) - pkg_search_module( XDAMAGE xdamage ) - if( NOT XDAMAGE_FOUND ) - tde_message_fatal( "xdamage is requested, but was not found on your system" ) - endif( ) -endif( ) - - -# xext (twin/kompmgr) -if( WITH_XEXT ) - pkg_search_module( XEXT xext ) - if( XEXT_FOUND ) - set( HAVE_XEXT 1 ) - else( XEXT_FOUND ) - tde_message_fatal( "xext is requested, but was not found on your system" ) - endif( ) -endif( ) - - # libconfig (twin/compton-tde) if( WITH_LIBCONFIG ) pkg_search_module( LIBCONFIG libconfig ) -- cgit v1.2.1