a36842af3b
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
23 lines
735 B
Makefile
23 lines
735 B
Makefile
################################################################################
|
|
#
|
|
# libcpprestsdk
|
|
#
|
|
################################################################################
|
|
|
|
LIBCPPRESTSDK_VERSION = v2.10.10
|
|
LIBCPPRESTSDK_SITE = $(call github,Microsoft,cpprestsdk,$(LIBCPPRESTSDK_VERSION))
|
|
LIBCPPRESTSDK_LICENSE = MIT
|
|
LIBCPPRESTSDK_LICENSE_FILES = license.txt
|
|
LIBCPPRESTSDK_SUBDIR = Release
|
|
LIBCPPRESTSDK_DEPENDENCIES += host-pkgconf boost openssl zlib
|
|
LIBCPPRESTSDK_CONF_OPTS = -DWERROR=OFF
|
|
|
|
ifeq ($(BR2_PACKAGE_WEBSOCKETPP),y)
|
|
LIBCPPRESTSDK_DEPENDENCIES += websocketpp
|
|
LIBCPPRESTSDK_CONF_OPTS += -DCPPREST_EXCLUDE_WEBSOCKETS=OFF
|
|
else
|
|
LIBCPPRESTSDK_CONF_OPTS += -DCPPREST_EXCLUDE_WEBSOCKETS=ON
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|