Skip to content

Commit 719223f

Browse files
Revert "Disable legacy rounding mode."
This reverts commit 2cca41a. Resolves: NEO-4581 Signed-off-by: Piotr Zdunowski <[email protected]>
1 parent 907dec5 commit 719223f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -714,6 +714,9 @@ if(MSVC)
714714
# Disable COMDAT folding optimization
715715
set(LINKER_FLAGS "${LINKER_FLAGS} /OPT:NOICF")
716716

717+
# Use legacy float rounding
718+
set(LINKER_FLAGS "${LINKER_FLAGS} legacy_stdio_float_rounding.obj")
719+
717720
# Support for WUD
718721
set(CMAKE_CXX_STANDARD_LIBRARIES "onecore.lib")
719722
foreach(IT kernel32.lib;user32.lib;gdi32.lib;advapi32.lib;ole32.lib;)

0 commit comments

Comments
 (0)