mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-02 21:48:20 +03:00
package/libcpprestsdk: add optional brotli dependency
Official brotli support has been added in version 2.10.8 and
f3824aa8d0
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
735bedd0d3
commit
b386e15395
@@ -16,6 +16,13 @@ ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
|
||||
LIBCPPRESTSDK_CONF_OPTS += -DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) -latomic"
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_BROTLI),y)
|
||||
LIBCPPRESTSDK_DEPENDENCIES += brotli
|
||||
LIBCPPRESTSDK_CONF_OPTS += -DCPPREST_EXCLUDE_BROTLI=OFF
|
||||
else
|
||||
LIBCPPRESTSDK_CONF_OPTS += -DCPPREST_EXCLUDE_BROTLI=ON
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_WEBSOCKETPP),y)
|
||||
LIBCPPRESTSDK_DEPENDENCIES += websocketpp
|
||||
LIBCPPRESTSDK_CONF_OPTS += -DCPPREST_EXCLUDE_WEBSOCKETS=OFF
|
||||
|
||||
Reference in New Issue
Block a user