Files
Youngseok Jeong 1289dd19f7 json-schema-validator: Remove absolute path in INSTALL_CMAKE_DIR
Can't found properly in the sysroot dir due to the absolute path in
INSTALL_CMAKE_DIR.

Fixes:
The imported target "nlohmann_json_schema_validator" references the file
"/usr/lib/libnlohmann_json_schema_validator.so.2.1.0"
but this file does not exist.

Signed-off-by: Youngseok Jeong <youngseok1.jeong@lge.com>
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
2025-09-06 16:27:30 +02:00

18 lines
571 B
BlitzBasic

SUMMARY = "JSON schema validator for JSON for Modern C++"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=c441d022da1b1663c70181a32225d006"
SRC_URI = "git://github.com/pboettch/json-schema-validator;branch=master;protocol=https \
file://0001-cmake-Use-GNUInstallDirs.patch \
file://0002-Do-not-use-the-CMAKE_INSTALL_PREFIX.patch \
"
SRCREV = "27fc1d094503623dfe39365ba82581507524545c"
S = "${WORKDIR}/git"
DEPENDS += "nlohmann-json"
inherit cmake
EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF"