diff --git a/CMakeLists.txt b/CMakeLists.txt index 70f8fec..f63ea08 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -102,6 +102,11 @@ endif() include(${PROJECT_SOURCE_DIR}/cmake/common/check_configuration.cmake) option(CHECK_ENDIANNESS "Enable/disable endiannes checking" ON) + +if(__BIG_ENDIAN__) + set(CHECK_ENDIANNESS OFF) +endif() + if(CHECK_ENDIANNESS) check_endianness() else()