Make Floating Point Existence Flag Initially Unset

PR OPM/opm-common#4348 altered the OPM build system's handling of
boolean flags and setting the flag to zero no longer works.
This commit is contained in:
Bård Skaflestad 2024-11-22 10:34:25 +01:00
parent c4db1b10d2
commit e695550e05

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()