summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2020-02-12 14:02:24 +0100
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-02-12 23:24:18 +0900
commitc8f152ab7e637d0bf13effdb09d7a095d171948f (patch)
tree84e399f9eb6d0c966ff79e44e004564b7fd19477 /ConfigureChecks.cmake
parent6600b1e14df45104c08f0df8f3a86bd3ea2c91f0 (diff)
downloadkvkbd-c8f152ab7e637d0bf13effdb09d7a095d171948f.tar.gz
kvkbd-c8f152ab7e637d0bf13effdb09d7a095d171948f.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 <gregory-tde@laposte.net> (cherry picked from commit 92482b762101fc6e18740ba34ffb688e77ea8cfa)
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()