forked from Lainports/freebsd-ports
- Add workaround for an unit test PR: 283183 Submitted by: Daniel Engberg <diizzy@FreeBSD.org> Reference: https://github.com/libgeos/geos/issues/1206
11 lines
525 B
Text
11 lines
525 B
Text
--- CMakeLists.txt.orig 2024-12-07 16:18:30 UTC
|
|
+++ CMakeLists.txt
|
|
@@ -215,7 +215,7 @@ target_compile_options(geos_cxx_flags INTERFACE
|
|
#-----------------------------------------------------------------------------
|
|
|
|
target_compile_options(geos_cxx_flags INTERFACE
|
|
- "$<$<OR:$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>>:-ffp-contract=off>"
|
|
+ "$<$<OR:$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>>:-ffp-model=strict>"
|
|
"$<$<CXX_COMPILER_ID:GNU>:-ffp-contract=off>"
|
|
"$<$<BOOL:${MSVC}>:/fp:precise>"
|
|
)
|