projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56baf4e
)
Suppress warnings in carotene on macOS ARM64 for 3.4 branch
author
Andrey Senyaev
<andrey.senyaev@gmail.com>
Mon, 22 Aug 2022 14:42:22 +0000
(17:42 +0300)
committer
Andrey Senyaev
<andrey.senyaev@gmail.com>
Mon, 22 Aug 2022 14:42:22 +0000
(17:42 +0300)
3rdparty/carotene/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/3rdparty/carotene/CMakeLists.txt
b/3rdparty/carotene/CMakeLists.txt
index
3d49a2d
..
091990d
100644
(file)
--- a/
3rdparty/carotene/CMakeLists.txt
+++ b/
3rdparty/carotene/CMakeLists.txt
@@
-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}