summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2017-02-04 18:26:31 +0100
committerSlávek Banko <slavek.banko@axis.cz>2017-02-04 18:26:31 +0100
commitb1aebdd7f9e3988d338a10cc608ca3c5221ffa49 (patch)
tree2bf7da6309a04b2d0d77410b0a78f3f2a4ff50b2 /ConfigureChecks.cmake
parent99dad7728aaa8796e750723d805457a3eed642a5 (diff)
downloadk3b-b1aebdd7f9e3988d338a10cc608ca3c5221ffa49.tar.gz
k3b-b1aebdd7f9e3988d338a10cc608ca3c5221ffa49.zip
Fix 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 9466c7c..19f34a9 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -24,6 +24,9 @@ endif( WITH_GCC_VISIBILITY )
tde_setup_architecture_flags( )
+include(TestBigEndian)
+test_big_endian(WORDS_BIGENDIAN)
+
# Check system configuration
check_include_file ( "iconv.h" HAVE_ICONV_H )
check_include_file ( "endian.h" HAVE_ENDIAN_H )