From ab12cfe230b06ba2a4505e681d7b8ce6ea35fb34 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 19 Dec 2021 20:05:06 +0900 Subject: Updated cmake files to allow building the package, although it is just a dummy package (not functional). Signed-off-by: Michele Calgaro --- ConfigureChecks.cmake | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 ConfigureChecks.cmake (limited to 'ConfigureChecks.cmake') diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake new file mode 100644 index 0000000..3a4e77f --- /dev/null +++ b/ConfigureChecks.cmake @@ -0,0 +1,34 @@ +########################################### +# # +# 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 ) + + +##### check for polkit-tqt + +pkg_search_module( POLKIT_TQT polkit-tqt ) +if( NOT POLKIT_TQT_FOUND ) + tde_message_fatal( "polkit-tqt is required, but was not found on your system" ) +endif( ) + -- cgit v1.2.1