Make IEEE754 check more robust
[alexxy/gromacs.git] / cmake / gmxTestFloatFormat.cmake
index 00671573fc875732032f309c6718ba06d209cbe3..e20c49d8c4f8a37946f69345311a3437f40ad945 100644 (file)
@@ -104,6 +104,7 @@ MACRO(GMX_TEST_FLOAT_FORMAT FP_IEEE754 FP_BIG_ENDIAN_BYTE FP_BIG_ENDIAN_WORD)
             MESSAGE(STATUS "Checking floating point format - IEEE754 (LE byte, LE word)")
         else()
             MESSAGE(STATUS "Checking floating point format - unknown")
+            MESSAGE(WARNING "Cannot detect your floating-point format. It is extremely unlikely to be anything else than IEEE754, but if we do not know the endian we need to rely on your OS providing the math functions erfd() and erfcd() rather than using our built-in ones.")
         endif()
     ENDIF()
 ENDMACRO(GMX_TEST_FLOAT_FORMAT FP_IEEE754 FP_BIG_ENDIAN_BYTE FP_BIG_ENDIAN_WORD)