[meta-oe,1/2] spdlog: Upgrade to 1.7.0

Submitted by Khem Raj on July 31, 2020, 7:03 a.m. | Patch ID: 174927

Details

Message ID 20200731070313.2929565-1-raj.khem@gmail.com
State Accepted
Commit bb10199dbc66ce572adf739f87d7e6797f689c42
Headers show

Commit Message

Khem Raj July 31, 2020, 7:03 a.m.
Use external fmt package

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../spdlog/{spdlog_1.5.0.bb => spdlog_1.7.0.bb}             | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-support/spdlog/{spdlog_1.5.0.bb => spdlog_1.7.0.bb} (80%)

Patch hide | download patch | download mbox

diff --git a/meta-oe/recipes-support/spdlog/spdlog_1.5.0.bb b/meta-oe/recipes-support/spdlog/spdlog_1.7.0.bb
similarity index 80%
rename from meta-oe/recipes-support/spdlog/spdlog_1.5.0.bb
rename to meta-oe/recipes-support/spdlog/spdlog_1.7.0.bb
index 39629cce0d..ce491da0d9 100644
--- a/meta-oe/recipes-support/spdlog/spdlog_1.5.0.bb
+++ b/meta-oe/recipes-support/spdlog/spdlog_1.7.0.bb
@@ -3,14 +3,16 @@  HOMEPAGE = "https://github.com/gabime/spdlog/wiki"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
 
-SRCREV = "cf6f1dd01e660d5865d68bf5fa78f6376b89470a"
+SRCREV = "616caa5d30172b65cc3a06800894c575d70cb8e6"
 SRC_URI = "git://github.com/gabime/spdlog.git;protocol=git;branch=v1.x;"
 
+DEPENDS += "fmt"
+
 S = "${WORKDIR}/git"
 
 BBCLASSEXTEND = "native"
 # no need to build example&text&benchmarks on pure yocto
-EXTRA_OECMAKE += "-DSPDLOG_INSTALL=on -DSPDLOG_BUILD_EXAMPLES=off -DSPDLOG_BUILD_TESTS=off -DSPDLOG_BUILD_BENCH=off"
+EXTRA_OECMAKE += "-DSPDLOG_INSTALL=on -DSPDLOG_BUILD_EXAMPLES=off -DSPDLOG_BUILD_TESTS=off -DSPDLOG_BUILD_BENCH=off -DSPDLOG_FMT_EXTERNAL=on"
 
 inherit cmake