diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-10 15:25:57 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-03 03:27:38 +0200 |
commit | e14a5031533a270c03844a5442e41876420463fc (patch) | |
tree | 4ae5deeb4a6a9a082c2351b7eb6087150fbf88d4 /ConfigureChecks.cmake | |
parent | 2873e76d929e0c1e244278b952af5ae8a77bd705 (diff) | |
download | tdebase-e14a5031533a270c03844a5442e41876420463fc.tar.gz tdebase-e14a5031533a270c03844a5442e41876420463fc.zip |
Enable xtest support flag
(cherry picked from commit 45fb5561be6e828c78180c781f74d0ae9d1c3ea4)
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 af7f22d47..d6b3b49da 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -111,12 +111,25 @@ endif( ) # xext (kwin/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 ) |