Files
meta-openembedded/meta-oe/recipes-support/cpprest/cpprest_2.10.13.bb
T
Adrian Bunk 3a4dfcce5d cpprest: Fix build failure with gcc 8
The workaround for gcc 9 broke building with gcc 8:
     cc1plus: error: -Werror=deprecated-copy: no option -Wdeprecated-copy
     cc1plus: error: -Werror=redundant-move: no option -Wredundant-move
     ninja: build stopped: subcommand failed.

-Werror is often problematic in distribution builds,
disable it globally and permanently.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-10 09:24:33 -07:00

22 lines
753 B
BlitzBasic

SUMMARY = "Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design."
SECTION = "libs/network"
HOMEPAGE = "https://github.com/Microsoft/cpprestsdk/"
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"
SRC_URI = "git://github.com/Microsoft/cpprestsdk.git;protocol=https;branch=master \
file://disable-float-tests.patch \
file://disable-outside-tests.patch "
# tag 2.10.13
SRCREV= "9d8f544001cb74544de6dc8c565592f7e2626d6e"
S = "${WORKDIR}/git"
inherit cmake pkgconfig
CXXFLAGS += "-Wno-error"