From 5b9b793dde1de9d0e4686abd06f68c1a630ed0aa Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Thu, 24 Oct 2002 13:39:23 -0400 Subject: [PATCH] Add check for big endian in backward compatibility scripts --- Modules/CMakeBackwardCompatibilityC.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Modules/CMakeBackwardCompatibilityC.cmake b/Modules/CMakeBackwardCompatibilityC.cmake index 52639410e..e48140805 100644 --- a/Modules/CMakeBackwardCompatibilityC.cmake +++ b/Modules/CMakeBackwardCompatibilityC.cmake @@ -20,3 +20,6 @@ CHECK_INCLUDE_FILE("limits.h" CMAKE_HAVE_LIMITS_H) CHECK_INCLUDE_FILE("unistd.h" CMAKE_HAVE_UNISTD_H) CHECK_INCLUDE_FILE("sys/prctl.h" CMAKE_HAVE_SYS_PRCTL_H) CHECK_INCLUDE_FILE("pthread.h" CMAKE_HAVE_PTHREAD_H) + +INCLUDE (${CMAKE_ROOT}/Modules/TestBigEndian.cmake) +TEST_BIG_ENDIAN(CMAKE_WORDS_BIGENDIAN)