Merge pull request #5756 from bska/follow-cmake-bool-handling-update

Make Floating Point Existence Flag Initially Unset
This commit is contained in:
Arne Morten Kvarving 2024-11-22 11:02:59 +01:00 committed by GitHub
commit e845eb63a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -323,7 +323,7 @@ macro (config_hook)
CXX_STANDARD 17
)
set(HAVE_FLOATING_POINT_FROM_CHARS 0)
unset(HAVE_FLOATING_POINT_FROM_CHARS)
if(have_float_from_chars)
set(HAVE_FLOATING_POINT_FROM_CHARS 1)
endif()