2018-01-14 20:56:44 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libcpprestsdk
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2019-02-04 13:09:55 +01:00
|
|
|
LIBCPPRESTSDK_VERSION = v2.10.10
|
2018-01-14 20:56:44 +01:00
|
|
|
LIBCPPRESTSDK_SITE = $(call github,Microsoft,cpprestsdk,$(LIBCPPRESTSDK_VERSION))
|
|
|
|
LIBCPPRESTSDK_LICENSE = MIT
|
|
|
|
LIBCPPRESTSDK_LICENSE_FILES = license.txt
|
|
|
|
LIBCPPRESTSDK_SUBDIR = Release
|
2018-02-15 22:35:36 +01:00
|
|
|
LIBCPPRESTSDK_DEPENDENCIES += host-pkgconf boost openssl zlib
|
2019-02-12 23:45:47 +01:00
|
|
|
LIBCPPRESTSDK_CONF_OPTS = -DWERROR=OFF -DCPPREST_EXCLUDE_WEBSOCKETS=ON -DBUILD_SAMPLES=OFF
|
2018-01-14 20:56:44 +01:00
|
|
|
|
2019-02-15 22:33:15 +01:00
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
|
|
|
|
LIBCPPRESTSDK_CONF_OPTS += -DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) -latomic"
|
|
|
|
endif
|
|
|
|
|
2018-01-14 20:56:44 +01:00
|
|
|
$(eval $(cmake-package))
|