cpprest: Do not export Werror from build system instead of adding -Wno-error to the same build command

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Gianfranco Costamagna
2019-07-23 09:59:38 +02:00
committed by Khem Raj
parent 64a3c86711
commit ccf2220ab2
@@ -5,7 +5,7 @@ LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${S}/license.txt;md5=a2e15b954769218ff912468eecd6a02f"
DEPENDS = "openssl websocketpp zlib boost brotli"
EXTRA_OECMAKE = "-DCPPREST_EXPORT_DIR=cmake -DCPPREST_EXCLUDE_BROTLI=OFF"
EXTRA_OECMAKE = "-DCPPREST_EXPORT_DIR=cmake -DCPPREST_EXCLUDE_BROTLI=OFF -DWERROR=OFF"
SRC_URI = "git://github.com/Microsoft/cpprestsdk.git;protocol=https;branch=master \
file://disable-float-tests.patch \
@@ -17,5 +17,3 @@ SRCREV= "6f602bee67b088a299d7901534af3bce6334ab38"
S = "${WORKDIR}/git"
inherit cmake pkgconfig
CXXFLAGS += "-Wno-error"