-ENDIF (NOT CMAKE_CROSSCOMPILING)
-IF (CMAKE_CROSSCOMPILING)
- MESSAGE(WARNING "Cross compiling - using portable code for memory access")
-ENDIF (CMAKE_CROSSCOMPILING)
+endif()
+if(CMAKE_CROSSCOMPILING)
+ message(STATUS "Cross compiling - using portable code for memory access")
+endif()