summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2017-02-04 18:26:31 +0100
committerSlávek Banko <[email protected]>2017-02-04 18:26:42 +0100
commit9444a6709a23153941eaf79dff8ecc27e0a716ef (patch)
tree3b727649d7a2a20b3ab21644387f82d068297979 /ConfigureChecks.cmake
parentd290164f7014d2177d9a25145e771cc1e85c484b (diff)
downloadk3b-9444a6709a23153941eaf79dff8ecc27e0a716ef.tar.gz
k3b-9444a6709a23153941eaf79dff8ecc27e0a716ef.zip
Fix detection whether the system is big endian
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit b1aebdd7f9e3988d338a10cc608ca3c5221ffa49)
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 )