mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 03:00:14 +08:00
Suppress warnings in carotene on macOS ARM64 for 3.4 branch
This commit is contained in:
parent
56baf4ed87
commit
ef570e4e13
4
3rdparty/carotene/CMakeLists.txt
vendored
4
3rdparty/carotene/CMakeLists.txt
vendored
@ -27,6 +27,10 @@ if(CMAKE_COMPILER_IS_GNUCC)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(APPLE AND CV_CLANG AND WITH_NEON)
|
||||
ocv_warnings_disable(CMAKE_CXX_FLAGS -Wno-unused-function -Wno-c++11-extensions)
|
||||
endif()
|
||||
|
||||
add_library(carotene_objs OBJECT EXCLUDE_FROM_ALL
|
||||
${carotene_headers}
|
||||
${carotene_sources}
|
||||
|
Loading…
Reference in New Issue
Block a user