meta-openembedded/meta-oe/recipes-extended/docopt.cpp/docopt.cpp_git.bb
Alper Ak 021a2cd286
docopt.cpp: Add patch for CMake 4+ compatibility
Fix:

| CMake Error at CMakeLists.txt:1 (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-08 23:40:32 -07:00

29 lines
974 B
BlitzBasic

SUMMARY = "C++11 port of docopt command-line interface description language and parser"
DESCRIPTION = "docopt is library that lets you define a command line interface with the \
utility argument syntax that has been used by command line utilities for \
decades (formalized in POSIX.1-2017). From the description, docopt \
automatically generates a parser for the command line arguments."
HOMEPAGE = "https://github.com/docopt/docopt.cpp"
LICENSE = "MIT | BSL-1.0"
LIC_FILES_CHKSUM = "\
file://LICENSE-Boost-1.0;md5=e4224ccaecb14d942c71d31bef20d78c \
file://LICENSE-MIT;md5=4b242fd9ef20207e18286d73da8a6677 \
"
SRCREV = "42ebcec9dc2c99a1b3a4542787572045763ad196"
PV = "0.6.3+git"
SRC_URI = "\
git://github.com/docopt/docopt.cpp.git;protocol=https;branch=master \
file://0001-allow-build-with-cmake-4.patch"
inherit cmake
PACKAGECONFIG ??= ""
PACKAGECONFIG[boost] = "-DUSE_BOOST_REGEX=ON,-DUSE_BOOST_REGEX=OFF,boost"
BBCLASSEXTEND = "native nativesdk"