mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-04 16:10:10 +00:00
If BASELIB is set to non-default value (like lib64), next 'installed but not shipped' issue happens: /usr/lib /usr/lib/cmake /usr/lib/pkgconfig /usr/lib/cmake/RapidJSON /usr/lib/cmake/RapidJSON/RapidJSONConfigVersion.cmake /usr/lib/cmake/RapidJSON/RapidJSONConfig.cmake /usr/lib/pkgconfig/RapidJSON.pc This is because rapidjson has library installation dir set to 'lib' by default and hardcoded in another place. Fix this by next changes: - set appropriate LIB_INSTALL_DIR - fix hardcoded 'lib' in CMAKECONFIG_INSTALL_DIR case Signed-off-by: Ruslan Bilovol <rbilovol@cisco.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
25 lines
763 B
BlitzBasic
25 lines
763 B
BlitzBasic
SUMMARY = "A fast JSON parser/generator for C++ with both SAX/DOM style API"
|
|
HOMEPAGE = "http://rapidjson.org/"
|
|
SECTION = "libs"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://license.txt;md5=ba04aa8f65de1396a7e59d1d746c2125"
|
|
|
|
SRC_URI = "git://github.com/miloyip/rapidjson.git;nobranch=1 \
|
|
file://0001-CMake-remove-hardcoded-CMAKECONFIG_INSTALL_DIR-path.patch"
|
|
|
|
SRCREV = "6a905f9311f82d306da77bd963ec5aa5da07da9c"
|
|
|
|
PV = "1.1.0+git${SRCPV}"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit cmake
|
|
|
|
EXTRA_OECMAKE += "-DRAPIDJSON_BUILD_DOC=OFF -DRAPIDJSON_BUILD_TESTS=OFF -DRAPIDJSON_BUILD_EXAMPLES=OFF -DLIB_INSTALL_DIR:STRING=${libdir}"
|
|
|
|
# RapidJSON is a header-only C++ library, so the main package will be empty.
|
|
|
|
ALLOW_EMPTY_${PN} = "1"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|