Skip to content

Commit

Permalink
Refs #2886. Change cmake configuration endian behavior.
Browse files Browse the repository at this point in the history
  • Loading branch information
lemunozm committed Jun 7, 2018
1 parent 2d929b3 commit acf934a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit acf934a

Please sign in to comment.