diff --git a/CMakeLists.txt b/CMakeLists.txt index e758b5dc8..074986f38 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -187,7 +187,7 @@ target_compile_features(geos_cxx_flags INTERFACE cxx_std_11) target_compile_options(geos_cxx_flags INTERFACE "$<$,$>:-ffp-contract=off>" "$<$:-ffp-contract=off>" - "$<$:/fp:precise>" + $<$:/fp:precise /wd4996> ) # Use -ffloat-store for 32-bit builds (needed to make some tests pass)