CMake: Cache clip test result

This commit is contained in:
evpobr 2020-09-24 08:43:47 +05:00 committed by Erik de Castro Lopo
parent 8e97d8182e
commit ec8f843fa1

View File

@ -2,7 +2,7 @@ include (CheckCSourceRuns)
include (CMakePushCheckState)
macro (CLIP_MODE)
if ((NOT DEFINED CPU_CLIPS_NEGATIVE) AND (NOT DEFINED CPU_CLIPS_POSITIVE))
set (CLIP_MODE_POSITIVE_MESSAGE "Target processor clips on positive float to int conversion")
set (CLIP_MODE_NEGATIVE_MESSAGE "Target processor clips on negative float to int conversion")
@ -88,5 +88,5 @@ macro (CLIP_MODE)
endif (CMAKE_CROSSCOMPILING)
message (STATUS "Checking processor clipping capabilities... ${CLIP_MSG}")
endif ()
endmacro (CLIP_MODE)