mirror of
https://github.com/opencv/opencv.git
synced 2024-11-27 12:40:05 +08:00
Suppress TBB compilation warnings visible during Android SDK build.
This commit is contained in:
parent
bf5a01e297
commit
b24e365454
2
3rdparty/tbb/CMakeLists.txt
vendored
2
3rdparty/tbb/CMakeLists.txt
vendored
@ -100,6 +100,8 @@ ocv_warnings_disable(CMAKE_CXX_FLAGS
|
||||
-Wimplicit-fallthrough # TBB 2018 under GCC 7+
|
||||
-Wmissing-prototypes # MacOSX, Android/Clang
|
||||
-Wundef -Wmissing-declarations # TBB 2019
|
||||
-Wnon-virtual-dtor # oneTBB-2020.2 Android
|
||||
-Wunused-but-set-variable # oneTBB-2020.2 Android
|
||||
)
|
||||
|
||||
set(TBB_SOURCE_FILES ${lib_srcs} ${lib_hdrs})
|
||||
|
Loading…
Reference in New Issue
Block a user