From 2fe98299baff89c26b594704ea6baf6bd8336346 Mon Sep 17 00:00:00 2001 From: gregory guy Date: Sat, 7 Aug 2021 11:45:47 +0200 Subject: Conversion to the cmake building system. Added a man page taken from the Debian packaging system. Changed the doc folder's layout. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: gregory guy CMake: Use tde_add_project_translations common macro. Signed-off-by: Slávek Banko --- ConfigureChecks.cmake | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 ConfigureChecks.cmake (limited to 'ConfigureChecks.cmake') diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake new file mode 100644 index 0000000..2f6cb2a --- /dev/null +++ b/ConfigureChecks.cmake @@ -0,0 +1,39 @@ +########################################### +# # +# Improvements and feedback are welcome # +# # +# This file is released under GPL >= 3 # +# # +########################################### + +# required stuff +find_package( TQt ) +find_package( TDE ) + +tde_setup_architecture_flags( ) + +include(TestBigEndian) +test_big_endian(WORDS_BIGENDIAN) + +tde_setup_largefiles( ) + + +##### check for gcc visibility support + +if( WITH_GCC_VISIBILITY ) + tde_setup_gcc_visibility( ) +endif( WITH_GCC_VISIBILITY ) + + +##### Threading support + +find_package( Threads ) + + +##### look for libqalculate + +pkg_search_module( QALCULATE libqalculate ) + +if( NOT QALCULATE_FOUND ) + tde_message_fatal( "libqalculate is required but was not found on your system." ) +endif( NOT QALCULATE_FOUND ) -- cgit v1.2.1