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 19:02:11 +0200
commit7d77ae4695f70b6e88832fffbf771c55dbc37b1d (patch)
tree01a43b56b7607514237eecddba0527bd96885da2 /ConfigureChecks.cmake
parent0484f60a689b1334f0b5db9865b89efda71fc848 (diff)
downloadtdeadmin-7d77ae4695f70b6e88832fffbf771c55dbc37b1d.tar.gz
tdeadmin-7d77ae4695f70b6e88832fffbf771c55dbc37b1d.zip
cmake: Add detection whether the system is big endian
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 74d59d78840da38cdcbe4dacb032fec2e0f2f437)
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 #########