diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2019-01-30 09:22:58 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2019-01-30 09:22:58 +0100 |
commit | e20e503a96778a72aa3afdc6153eb68d10dc6782 (patch) | |
tree | 34c960fcb17961bf650b3b01500f7b1da8a2eb1a /ConfigureChecks.cmake | |
parent | 0cb6002af9e5f56311ea70216f365026302a2260 (diff) | |
download | dbus-1-tqt-e20e503a96778a72aa3afdc6153eb68d10dc6782.tar.gz dbus-1-tqt-e20e503a96778a72aa3afdc6153eb68d10dc6782.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>
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 951e55f..f155fe2 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -9,6 +9,16 @@ # ################################################# +##### setup architecture flags ################## + +tde_setup_architecture_flags( ) + +include(TestBigEndian) +test_big_endian(WORDS_BIGENDIAN) + +tde_setup_largefiles( ) + + # dbus-1 pkg_search_module( DBUS dbus-1 ) if( NOT DBUS_FOUND ) @@ -17,3 +27,8 @@ endif( ) # tqt find_package( TQt ) + +# gcc visibility +if( WITH_GCC_VISIBILITY ) + tde_setup_gcc_visibility( ) +endif( ) |