mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
- CMake 3.0 and newer disallow reading the LOCATION property of targets directly. Instead, use the recommended $<TARGET_FILE:target> generator expression when referencing the output binary in add_custom_command. Fixes: | CMake Error at CMakeLists.txt:15 (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! ----- | CMake Error at reformatter/CMakeLists.txt:38 (GET_TARGET_PROPERTY): | The LOCATION property may not be read from target "json_reformat". Use the | target name directly with add_custom_command, or use the generator | expression $<TARGET_FILE>, as appropriate. | | | | CMake Error at verify/CMakeLists.txt:32 (GET_TARGET_PROPERTY): | The LOCATION property may not be read from target "json_verify". Use the | target name directly with add_custom_command, or use the generator | expression $<TARGET_FILE>, as appropriate. Signed-off-by: Alper Ak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
22 lines
719 B
BlitzBasic
22 lines
719 B
BlitzBasic
SUMMARY = "Yet Another JSON Library."
|
|
|
|
DESCRIPTION = "YAJL is a small event-driven (SAX-style) JSON parser \
|
|
written in ANSI C, and a small validating JSON generator."
|
|
|
|
HOMEPAGE = "https://lloyd.github.io/yajl/"
|
|
|
|
LICENSE = "ISC"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=39af6eb42999852bdd3ea00ad120a36d"
|
|
|
|
SRC_URI = "git://github.com/lloyd/yajl;branch=master;protocol=https \
|
|
file://CVE-2017-16516.patch \
|
|
file://CVE-2022-24795.patch \
|
|
file://CVE-2023-33460.patch \
|
|
file://0001-allow-build-with-cmake-4.patch \
|
|
"
|
|
SRCREV = "a0ecdde0c042b9256170f2f8890dd9451a4240aa"
|
|
|
|
inherit cmake lib_package
|
|
|
|
EXTRA_OECMAKE = "-DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')}"
|