Files
Alper Ak e45e164ada json-spirit: 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:33 -07:00

25 lines
821 B
BlitzBasic

SUMMARY = "A C++ JSON Parser/Generator Implemented with Boost Spirit."
DESCRIPTION = "JSON Spirit, a C++ library that reads and writes JSON files or streams. \
It is written using the Boost Spirit parser generator. If you are \
already using Boost, you can use JSON Spirit without any additional \
dependencies."
HOMEPAGE = "https://www.codeproject.com/kb/recipes/json_spirit.aspx"
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=278ef6183dec4aae1524fccc4b0113c9"
DEPENDS = "boost"
SRC_URI = "file://json_spirit_v${PV}.zip \
file://0001-Adjust-the-cmake-files.patch \
file://0001-Link-to-libatomic.patch \
file://0002-allow-build-with-cmake-4.patch \
"
S = "${UNPACKDIR}/json_spirit_v${PV}"
inherit cmake
BBCLASSEXTEND = "nativesdk"