From 45fb5561be6e828c78180c781f74d0ae9d1c3ea4 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 10 Jan 2012 15:25:57 -0600 Subject: Enable xtest support flag --- ConfigureChecks.cmake | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'ConfigureChecks.cmake') 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 ) -- cgit v1.2.1