Allow throwing fp exceptions in Windows 32 bit build.
This commit is contained in:
parent
7260711ec5
commit
76ece84e77
1 changed files with 5 additions and 1 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue