summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-01-29 12:40:35 +0100
committerSlávek Banko <slavek.banko@axis.cz>2019-02-02 16:20:19 +0100
commit515b5e3a1353a17b2eb504ab33e240abb925f0ef (patch)
tree11dfc1be2a6dbf6886ea5ed9d22bd372b796abc1 /ConfigureChecks.cmake
parent79aff3b728779e4fd2c12e0915eb461c91916d12 (diff)
downloadakode-515b5e3a1353a17b2eb504ab33e240abb925f0ef.tar.gz
akode-515b5e3a1353a17b2eb504ab33e240abb925f0ef.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.cmake14
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 )