summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake34
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 )