summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake7
1 files changed, 4 insertions, 3 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 4326a17..5cb46aa 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -60,11 +60,12 @@ endif( WITH_EXPAT )
##### check for XTest
if( WITH_XTEST )
-if( X11_XTest_FOUND )
+ pkg_search_module( X11_XTEST xtst )
+ if( X11_XTest_FOUND )
set( HAVE_XTEST 1 )
- else()
+ else()
tde_message_fatal( "XTest support has been requested but xtest was not found on your system." )
-endif()
+ endif()
endif( WITH_XTEST )