diff options
author | Alexander Golubev <[email protected]> | 2014-04-06 03:46:07 +0400 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2014-04-29 01:48:57 +0200 |
commit | 3c75381e05b6443906527f2c2513455309578ea8 (patch) | |
tree | ba44aa3cc2a94b6bdc1bd097c0c6f45fd7fd1242 /ConfigureChecks.cmake | |
parent | 9fb2cb290edabb9b2f382256d8370adc5ae73a50 (diff) | |
download | tdebase-3c75381e05b6443906527f2c2513455309578ea8.tar.gz tdebase-3c75381e05b6443906527f2c2513455309578ea8.zip |
Remove useless cmake configuration options WITH_XEXT and WITH_XDAMAGE
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 34 |
1 files changed, 14 insertions, 20 deletions
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 ) |