diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2021-08-26 02:54:46 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-08-26 14:17:59 +0200 |
commit | 2d8f9f71ba8a1dc140d97b43c66f21a78794f53b (patch) | |
tree | 7a11330ba3f4a035bdd74c470d6d64de8130cbf8 /ConfigureChecks.cmake | |
parent | b691110dd3ef831b33485db214b584bdb70e649e (diff) | |
download | tdesshaskpass-2d8f9f71ba8a1dc140d97b43c66f21a78794f53b.tar.gz tdesshaskpass-2d8f9f71ba8a1dc140d97b43c66f21a78794f53b.zip |
Remodel CMake rules according to TDE standards.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake new file mode 100644 index 0000000..d1e3778 --- /dev/null +++ b/ConfigureChecks.cmake @@ -0,0 +1,25 @@ +########################################### +# # +# 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 ) |