summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorFrançois Andriot <[email protected]>2014-10-08 21:25:38 +0200
committerSlávek Banko <[email protected]>2014-10-08 21:25:38 +0200
commitaae8990d33bbfee205c75dc7e48e1c64f2beeff0 (patch)
tree41db5d1e9ccf4e6dfc11b379794f6e816550914c /CMakeLists.txt
parent3adf509ac83ac9d807de0bbed0770d0234382c84 (diff)
downloadtdelibs-aae8990d33bbfee205c75dc7e48e1c64f2beeff0.tar.gz
tdelibs-aae8990d33bbfee205c75dc7e48e1c64f2beeff0.zip
Add a cmake detection for Xext library
Remove hardcoded Xext flags in tderandr and tdestyles/keramik Add missing link flag in tdeui
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 45f161b0e..11d3c4bfe 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -679,6 +679,12 @@ if( WITH_XCOMPOSITE )
else( WITH_XCOMPOSITE )
tde_message_fatal( "xcomposite support was requested, but xcomposite was not found on your system" )
endif( XCOMPOSITE_FOUND )
+
+ # xext (tderandr, tdestyles/keramik, tdeui)
+ 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( WITH_XCOMPOSITE )