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 authored and GitHub committed 2022-11-01 18:02:07 +04:00
1 parent a2c842bd74
commit 7595fd4c4e
18 files changed
+288 -304

No files matched your search

+5 -1
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