From dd5686ad0dfa28ef4c391addf184b2a0f99eda54 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Wed, 18 Jan 2017 17:15:30 +0200 Subject: sota-client-cpp: Build in release mode Update to newer version of SOTA client C++ and build it in Release mode. Signed-off-by: Leon Anavi --- recipes-sota/sota-client-cpp/sota-client-cpp_git.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes-sota/sota-client-cpp/sota-client-cpp_git.bb b/recipes-sota/sota-client-cpp/sota-client-cpp_git.bb index b3c841c..07982b3 100644 --- a/recipes-sota/sota-client-cpp/sota-client-cpp_git.bb +++ b/recipes-sota/sota-client-cpp/sota-client-cpp_git.bb @@ -10,7 +10,7 @@ inherit cmake systemd S = "${WORKDIR}/git" -SRCREV = "7194ec4aa39f71157af66751098340c854537817" +SRCREV = "a974dc2eea47594a6177f4c69c2d937a819aa7b3" SRC_URI = " \ git://github.com/advancedtelematic/sota_client_cpp \ @@ -19,6 +19,8 @@ SRC_URI = " \ DEPENDS = "boost curl openssl" RDEPENDS = "" +EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release" + do_install() { install -d ${D}${bindir} install -m 0755 ${WORKDIR}/build/target/sota_client ${D}${bindir}/sota_client_cpp -- cgit v1.2.3-54-g00ecf