Commit 3fc06f14 authored by Alexander Alekhin's avatar Alexander Alekhin

cmake: use -fp-model precise with ICC

parent fcddfa4f
......@@ -101,6 +101,10 @@ if(MINGW)
endif()
endif()
if(CV_ICC AND NOT ENABLE_FAST_MATH)
add_extra_compiler_option("-fp-model precise")
endif()
if(CMAKE_COMPILER_IS_GNUCXX)
# High level of warnings.
add_extra_compiler_option(-W)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment