Hi there, I believe there is a new way to test endianness with cmake. I was using: INCLUDE (${CMAKE_ROOT}/Modules/TestBigEndian.cmake) TEST_BIG_ENDIAN(GDCM_WORDS_BIGENDIAN) But this does not work when using mingw32 compiler on a linux box. Thanks ! -- Mathieu