diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2019-01-29 12:40:35 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2019-02-02 16:21:11 +0100 |
commit | 6d204a8b27c582bd12c5bc40ef58bc56342a7f95 (patch) | |
tree | bab19c2a9854c49ef7f601660b59ac7b5e7297c0 /ConfigureChecks.cmake | |
parent | 06424528d6865915ba88043c79c7a01266fdaf96 (diff) | |
download | akode-6d204a8b27c582bd12c5bc40ef58bc56342a7f95.tar.gz akode-6d204a8b27c582bd12c5bc40ef58bc56342a7f95.zip |
Update CMake rules
+ Add WITH_GCC_VISIBILITY option
+ Use common tde_setup_gcc_visibility
+ Add TestBigEndian and tde_setup_largefiles
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit b0c2717fd80109aa418e75298d66b6053fc6666e)
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 743aa72..ea07330 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -10,6 +10,20 @@ ################################################# +# required stuff + +tde_setup_architecture_flags( ) + +include(TestBigEndian) +test_big_endian(WORDS_BIGENDIAN) + +tde_setup_largefiles( ) + +if( WITH_GCC_VISIBILITY ) + tde_setup_gcc_visibility( ) +endif( ) + + ##### check for system libraries ################ if( WITH_LIBLTDL ) |