diff --git a/options_win.cmake b/options_win.cmake index fed51de..de98fa8 100644 --- a/options_win.cmake +++ b/options_win.cmake @@ -45,9 +45,13 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") /bigobj # scheme.cpp has too many sections. ) else() + target_compile_options(common_options + INTERFACE + /fp:except # Crash-report fp exceptions in 32 bit build. + ) target_link_options(common_options INTERFACE - /LARGEADDRESSAWARE # Allow more than 2 GB in 32 bit application.ß + /LARGEADDRESSAWARE # Allow more than 2 GB in 32 bit application. ) endif() elseif (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang")