mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 05:06:29 +08:00
Merge pull request #25375 from asmorkalov:as/win32_arm_warning
Supress build warnings on Win32 for ARM
This commit is contained in:
commit
369760116e
@ -41,7 +41,7 @@ if(MSVC)
|
|||||||
# and IE deprecated code warning C4996
|
# and IE deprecated code warning C4996
|
||||||
ocv_warnings_disable(CMAKE_CXX_FLAGS /wd4503 /wd4996)
|
ocv_warnings_disable(CMAKE_CXX_FLAGS /wd4503 /wd4996)
|
||||||
endif()
|
endif()
|
||||||
if(MSVC_VERSION LESS 1920) # MSVS 2015/2017
|
if((MSVC_VERSION LESS 1920) OR ARM OR AARCH64) # MSVS 2015/2017 on x86 and ARM
|
||||||
ocv_warnings_disable(CMAKE_CXX_FLAGS /wd4702) # 'unreachable code'
|
ocv_warnings_disable(CMAKE_CXX_FLAGS /wd4702) # 'unreachable code'
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user