From: Fabrice Fontaine Date: Tue, 19 Jan 2021 18:05:42 +0000 (+0100) Subject: package/poppler: add boost optional dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=497f989d7595a1c801a587e77d508ec3fa6edf0f;p=buildroot.git package/poppler: add boost optional dependency boost is an optional dependency which is enabled by default since version 0.80.0 and https://github.com/freedesktop/poppler/commit/355fd8d58ca0209284fe568b3add28f207e995c1 There is no cmake option to enable or disable this dependency Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- diff --git a/package/poppler/poppler.mk b/package/poppler/poppler.mk index 8e8dafc715..e779a7c9d3 100644 --- a/package/poppler/poppler.mk +++ b/package/poppler/poppler.mk @@ -26,6 +26,10 @@ ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) POPPLER_CONF_OPTS += -DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) -latomic" endif +ifeq ($(BR2_PACKAGE_BOOST),y) +POPPLER_DEPENDENCIES += boost +endif + ifeq ($(BR2_PACKAGE_JPEG),y) POPPLER_DEPENDENCIES += jpeg POPPLER_CONF_OPTS += -DENABLE_DCTDECODER=libjpeg -DWITH_JPEG=ON