diff options
| author | Mykyta Dorokhin <mykyta.dorokhin@globallogic.com> | 2021-03-02 22:42:50 +0200 |
|---|---|---|
| committer | John Klug <john.klug@multitech.com> | 2021-03-03 11:06:28 -0600 |
| commit | 29013bcb7563e522a859489c44af7845b7b07f56 (patch) | |
| tree | 21332abdcff10a636809777492cd20440316feb3 /recipes-support/jsoncpp/jsoncpp16_1.6.0.bb | |
| parent | a32ad409315ebae13614a409eb4671ac4a2b1cc8 (diff) | |
| download | meta-mlinux-29013bcb7563e522a859489c44af7845b7b07f56.tar.gz meta-mlinux-29013bcb7563e522a859489c44af7845b7b07f56.tar.bz2 meta-mlinux-29013bcb7563e522a859489c44af7845b7b07f56.zip | |
jsoncpp: switch to cmake build
Diffstat (limited to 'recipes-support/jsoncpp/jsoncpp16_1.6.0.bb')
| -rw-r--r-- | recipes-support/jsoncpp/jsoncpp16_1.6.0.bb | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/recipes-support/jsoncpp/jsoncpp16_1.6.0.bb b/recipes-support/jsoncpp/jsoncpp16_1.6.0.bb index 8c8454d..4a0d538 100644 --- a/recipes-support/jsoncpp/jsoncpp16_1.6.0.bb +++ b/recipes-support/jsoncpp/jsoncpp16_1.6.0.bb @@ -9,25 +9,15 @@ DEPENDS = "" SRCREV="cbe7e7c9cbd39d864588c5cf2436690634562d3f" SRC_URI = " git://github.com/open-source-parsers/jsoncpp.git;protocol=git \ - file://Makefile \ + file://0001-Install-headers-to-jsoncpp-json.patch \ " -PR = "r6" +PR = "r8" S = "${WORKDIR}/git" -do_compile() { - cp ${WORKDIR}/Makefile . - oe_runmake -} +inherit cmake -do_install () { - install -d ${D}/usr/lib - install -m 0755 ${S}/libjsoncpp.so ${D}/usr/lib - install -d ${D}${includedir}/jsoncpp/json - install -m 0755 ${S}/include/json/*.h ${D}${includedir}/jsoncpp/json -} +EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON -DJSONCPP_WITH_TESTS=OFF" -FILES_SOLIBSDEV = "" -FILES_${PN} += "${libdir}/*.so" -FILES_{PN}-dev += "${libdir}/*.so" +BBCLASSEXTEND = "native"
\ No newline at end of file |
