Suppress warnings in carotene on macOS ARM64 for 3.4 branch

This commit is contained in:
Andrey Senyaev 2022-08-22 17:42:22 +03:00
parent 56baf4ed87
commit ef570e4e13

View File

@ -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}