summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-10 15:25:57 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-10 15:25:57 -0600
commit45fb5561be6e828c78180c781f74d0ae9d1c3ea4 (patch)
treeeeb055a813e58ec2d68ae00d8bf19e076b52bff3 /ConfigureChecks.cmake
parentd6707f9679373588ae165f19d97d94580a8501fe (diff)
downloadtdebase-45fb5561be6e828c78180c781f74d0ae9d1c3ea4.tar.gz
tdebase-45fb5561be6e828c78180c781f74d0ae9d1c3ea4.zip
Enable xtest support flag
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake15
1 files changed, 14 insertions, 1 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 7b7a1b449..df892e1db 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -114,12 +114,25 @@ endif( )
# xext (twin/kompmgr)
if( WITH_XEXT )
pkg_search_module( XEXT xext )
- if( NOT XEXT_FOUND )
+ 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( )
+# xtest (kxkb)
+if( WITH_XTEST )
+ pkg_search_module( XTEST xtst )
+ if( XTEST_FOUND )
+ set( HAVE_XTEST 1 )
+ else( XTEST_FOUND )
+ tde_message_fatal( "xtest is requested, but was not found on your system" )
+ endif( )
+endif( )
+
+
# GL
if( BUILD_KDESKTOP OR BUILD_KCONTROL OR BUILD_KSCREENSAVER )
check_library_exists( GL glXChooseVisual "" HAVE_GLXCHOOSEVISUAL )