summaryrefslogtreecommitdiff
path: root/graphics/geos/files/patch-CMakeLists.txt
blob: ead3fac57d527c71722c3e47ecfc3c889436cba9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- 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>"
 	)