cmake: avoid setting hard-coded variables in the cache

This commit is contained in:
Ben Boeckel 2017-12-29 12:46:29 -05:00
parent 8d3c75b99f
commit 4eb15b2739

View File

@ -408,8 +408,7 @@ include(TestBigEndian)
test_big_endian(HOST_BIG_ENDIAN) test_big_endian(HOST_BIG_ENDIAN)
# IEEE floating point # IEEE floating point
set(HAVE_IEEEFP 1 CACHE STRING "IEEE floating point is available") set(HAVE_IEEEFP 1)
mark_as_advanced(HAVE_IEEEFP)
report_values(CMAKE_HOST_SYSTEM_PROCESSOR HOST_FILLORDER report_values(CMAKE_HOST_SYSTEM_PROCESSOR HOST_FILLORDER
HOST_BIG_ENDIAN HAVE_IEEEFP) HOST_BIG_ENDIAN HAVE_IEEEFP)