Add -fno-math-errno

Resolves #18156.
This commit is contained in:
fp64 2023-09-16 14:17:40 -04:00
parent e829c97d7e
commit e4af18baa6

View File

@ -399,6 +399,8 @@ if(NOT MSVC)
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -parallel -fopenmp")
endif()
add_definitions(-fno-math-errno)
if(X86 OR X86_64)
# enable sse2 code generation
add_definitions(-msse2)