summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorgregory guy <[email protected]>2020-02-12 14:02:24 +0100
committergregory guy <[email protected]>2020-02-12 14:02:24 +0100
commit92482b762101fc6e18740ba34ffb688e77ea8cfa (patch)
tree6d304786240333667806de10a6fa9ac891c6366e /ConfigureChecks.cmake
parentaed1d05ef9ba6f0389000f1e1f9652848e26dea7 (diff)
downloadkvkbd-92482b762101fc6e18740ba34ffb688e77ea8cfa.tar.gz
kvkbd-92482b762101fc6e18740ba34ffb688e77ea8cfa.zip
Drop automake build support.
Add basic cmake build instructions. Delete empty file NEWS, TODO and ChangeLog. Delete empty folder "templates". Add detection for the XTest library. Move the kvkbd.desktop file into XDG_APPS_INSTALL_DIR directory, see TDE/tde#26 . Some cosmetics. Signed-off-by: gregory guy <[email protected]>
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake10
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()