From ea0315ed880c6419bbc97549b10ecb6ba6ae2c00 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 23 Jul 2009 09:25:36 +0200 Subject: Add cmake check for big endian. --- ConfigureChecks.cmake | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ConfigureChecks.cmake') diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 14abf096..d18035b1 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -4,6 +4,7 @@ include(CheckFunctionExists) include(CheckLibraryExists) include(CheckTypeSize) include(CheckCXXSourceCompiles) +include(TestBigEndian) set(PACKAGE ${APPLICATION_NAME}) set(VERSION ${APPLICATION_VERSION}) @@ -55,3 +56,5 @@ if (WITH_DEBUG_CRYPTO) set(DEBUG_CRYPTO 1) endif (WITH_DEBUG_CRYPTO) +# ENDIAN +test_big_endian(WORDS_BIGENDIAN) -- cgit v1.2.3