diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2021-12-19 20:05:06 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2021-12-19 20:08:46 +0900 |
commit | ab12cfe230b06ba2a4505e681d7b8ce6ea35fb34 (patch) | |
tree | a6bb5fc600136016a2e3fd309ce6b3ad8a6c7cc9 /ConfigureChecks.cmake | |
parent | 796d4dc1ab15ce7f898d3fc0014e4b64a0be155d (diff) | |
download | polkit-agent-tde-ab12cfe230b06ba2a4505e681d7b8ce6ea35fb34.tar.gz polkit-agent-tde-ab12cfe230b06ba2a4505e681d7b8ce6ea35fb34.zip |
Updated cmake files to allow building the package, although it is just a dummy package (not functional).
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 34 |
1 files changed, 34 insertions, 0 deletions
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( ) + |