Suppress TBB compilation warnings visible during Android SDK build.

This commit is contained in:
Alexander Smorkalov 2024-02-13 15:02:38 +03:00
parent bf5a01e297
commit b24e365454

View File

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