From 9444a6709a23153941eaf79dff8ecc27e0a716ef Mon Sep 17 00:00:00 2001 From: Slávek Banko Date: Sat, 4 Feb 2017 18:26:31 +0100 Subject: Fix detection whether the system is big endian MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit b1aebdd7f9e3988d338a10cc608ca3c5221ffa49) --- ConfigureChecks.cmake | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ConfigureChecks.cmake') 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 ) -- cgit v1.2.3