Merge pull request #25016 from asmorkalov/as/android_tbb_warn_supp

Suppress TBB compilation warnings visible during Android SDK build
pull/25020/head
Alexander Smorkalov 1 year ago committed by GitHub
commit 08f252d65a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      3rdparty/tbb/CMakeLists.txt

@ -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…
Cancel
Save