summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-08-25 15:26:49 +0200
committerSlávek Banko <slavek.banko@axis.cz>2018-09-01 18:41:35 +0200
commit74d59d78840da38cdcbe4dacb032fec2e0f2f437 (patch)
tree87278d87493c63a78aab3b1e8ccfabff8bab90f0 /ConfigureChecks.cmake
parent4aae8e03369bf188b6300f75745e6cc837889157 (diff)
downloadtdeadmin-74d59d78840da38cdcbe4dacb032fec2e0f2f437.tar.gz
tdeadmin-74d59d78840da38cdcbe4dacb032fec2e0f2f437.zip
cmake: Add detection whether the system is big endian
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index b5f556f..c6fcfb3 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -12,6 +12,9 @@ find_package( TDE )
tde_setup_architecture_flags( )
+include(TestBigEndian)
+test_big_endian(WORDS_BIGENDIAN)
+
##### check for gcc visibility support #########