mirror of
https://github.com/opencv/opencv.git
synced 2025-06-12 20:42:53 +08:00
cmake: use -fp-model precise with ICC
This commit is contained in:
parent
fcddfa4f86
commit
3fc06f14d4
@ -101,6 +101,10 @@ if(MINGW)
|
|||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(CV_ICC AND NOT ENABLE_FAST_MATH)
|
||||||
|
add_extra_compiler_option("-fp-model precise")
|
||||||
|
endif()
|
||||||
|
|
||||||
if(CMAKE_COMPILER_IS_GNUCXX)
|
if(CMAKE_COMPILER_IS_GNUCXX)
|
||||||
# High level of warnings.
|
# High level of warnings.
|
||||||
add_extra_compiler_option(-W)
|
add_extra_compiler_option(-W)
|
||||||
|
Loading…
Reference in New Issue
Block a user