Files
meta-openembedded/meta-oe/recipes-support/gflags/gflags_2.2.2.bb
T
Alper Ak e07430eb44 gflags: Add patch for CMake 4+ compatibility
Fix:

| CMake Error at CMakeLists.txt:73 (cmake_minimum_required):
|   Compatibility with CMake < 3.5 has been removed from CMake.
|
|   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
|   to tell CMake that the project requires at least <min> but has been updated
|   to work with policies introduced by <max> or earlier.
|
|   Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
|
|
| -- Configuring incomplete, errors occurred!

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-09 09:16:07 -07:00

20 lines
882 B
BlitzBasic

DESCRIPTION = "The gflags package contains a C++ library that implements commandline flags processing. It includes built-in support for standard types such as string and the ability to define flags in the source file in which they are used"
HOMEPAGE = "https://github.com/gflags/gflags"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=c80d1a3b623f72bb85a4c75b556551df"
SRC_URI = "git://github.com/gflags/gflags.git;branch=master;protocol=https \
file://0001-allow-build-with-cmake-4.patch"
SRCREV = "e171aa2d15ed9eb17054558e0b3a6a413bb01067"
inherit cmake
EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON -DREGISTER_INSTALL_PREFIX=OFF -DLIB_INSTALL_DIR=${baselib}"
PACKAGES =+ "${PN}-bash-completion"
FILES:${PN}-bash-completion += "${bindir}/gflags_completions.sh"
RDEPENDS:${PN}-bash-completion = "bash bash-completion"
BBCLASSEXTEND = "native nativesdk"