Improvements in rpm / debian build (#13750)

* Improvements in rpm / debian build

* Fixed several debian warnings

* Supported old gflags from CentOS 7

* Reverted back OpenCV version

* Fixed clang-format
This commit is contained in:
Ilya Lavrenov
2022-11-01 18:02:07 +04:00
committed by GitHub
parent a2c842bd74
commit 7595fd4c4e
18 changed files with 288 additions and 304 deletions

View File

@@ -16,7 +16,11 @@
// gflags supports uint32 starting from v2.2 only
#ifndef DEFINE_uint32
# define DEFINE_uint32(name, val, txt) DEFINE_VARIABLE(GFLAGS_NAMESPACE::uint32, U, name, val, txt)
# ifdef GFLAGS_NAMESPACE
# define DEFINE_uint32(name, val, txt) DEFINE_VARIABLE(GFLAGS_NAMESPACE::uint32, U, name, val, txt)
# else
# define DEFINE_uint32(name, val, txt) DEFINE_VARIABLE(gflags::uint32, U, name, val, txt)
# endif
#endif
/// @brief message for help argument