mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-26 07:37:14 +00:00
rapidjson: 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>
This commit is contained in:
@@ -4,13 +4,13 @@ SECTION = "libs"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://license.txt;md5=ba04aa8f65de1396a7e59d1d746c2125"
|
||||
|
||||
SRC_URI = "git://github.com/miloyip/rapidjson.git;branch=master;protocol=https"
|
||||
SRC_URI = "git://github.com/miloyip/rapidjson.git;branch=master;protocol=https \
|
||||
file://0001-allow-build-with-cmake-4.patch"
|
||||
|
||||
SRCREV = "0ccdbf364c577803e2a751f5aededce935314313"
|
||||
|
||||
PV = "1.1.0+git"
|
||||
|
||||
|
||||
inherit cmake
|
||||
|
||||
EXTRA_OECMAKE += "-DRAPIDJSON_BUILD_DOC=OFF -DRAPIDJSON_BUILD_TESTS=OFF -DRAPIDJSON_BUILD_EXAMPLES=OFF"
|
||||
|
||||
Reference in New Issue
Block a user