diff options
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 289dd8c..cb2a1b8 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -19,8 +19,16 @@ test_big_endian(WORDS_BIGENDIAN) tde_setup_largefiles( ) -##### check for gcc visibility support ######### +##### check for gcc visibility support if( WITH_GCC_VISIBILITY ) tde_setup_gcc_visibility( ) endif( ) + + +##### check for X11 - XTest + +find_package( X11 ) +if( NOT X11_XTest_FOUND ) + tde_message_fatal( "The XTest (X11) library is required but was not found on your system." ) +endif() |