summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-02 00:12:15 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-02 00:12:15 +0000
commit25accf192389c28ab778910b894573e87df2d5e1 (patch)
tree2534a897b42c846e5f2197b861f25ae267569336 /ConfigureChecks.cmake
parent0c7d4bb71f9bb7ec47eccd57523c38dac41abed1 (diff)
downloadtdebase-25accf192389c28ab778910b894573e87df2d5e1.tar.gz
tdebase-25accf192389c28ab778910b894573e87df2d5e1.zip
[kdebase/klipper] added Xfixes support, klipper do not crashing anymore
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1223270 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake12
1 files changed, 11 insertions, 1 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 0533a21a7..21126547e 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -54,7 +54,6 @@ endif( )
# xcursor (kioslave, kcontrol)
-
if( WITH_XCURSOR )
pkg_search_module( XCURSOR xcursor )
if( XCURSOR_FOUND )
@@ -65,6 +64,17 @@ if( WITH_XCURSOR )
endif( )
+# xfixes (klipper)
+if( WITH_XFIXES )
+ pkg_search_module( XFIXES xfixes )
+ if( XFIXES_FOUND )
+ set( HAVE_XFIXES 1 CACHE INTERNAL "" FORCE )
+ else( )
+ tde_message_fatal( "xfixes are requested, but not found on your system" )
+ endif( )
+endif( )
+
+
# GL
if( BUILD_KDESKTOP OR BUILD_KCONTROL OR BUILD_KSCREENSAVER )
check_library_exists( GL glXChooseVisual "" HAVE_GLXCHOOSEVISUAL )