diff --git a/options_win.cmake b/options_win.cmake index b2eeefa..884528c 100644 --- a/options_win.cmake +++ b/options_win.cmake @@ -16,6 +16,7 @@ INTERFACE if (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") target_compile_options(common_options INTERFACE + /bigobj # scheme.cpp and history_widget.cpp has too many sections. /permissive- # /Qspectre /W1 @@ -39,12 +40,7 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") $<$:/DEBUG:NONE> ) - if (build_win64) - target_compile_options(common_options - INTERFACE - /bigobj # scheme.cpp has too many sections. - ) - else() + if (NOT build_win64) # target_compile_options(common_options # INTERFACE # /fp:except # Crash-report fp exceptions in 32 bit build.