diff options
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 15 |
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 ) |