summaryrefslogtreecommitdiffstats
path: root/sdext/Module_sdext.mk
diff options
context:
space:
mode:
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>2019-03-06 22:06:35 -0500
committerAndras Timar <andras.timar@collabora.com>2019-06-15 11:01:56 +0200
commit296389eab0263e88a311856c10813cd2bec54d1d (patch)
tree8008966358a673b9d243099f224c215b1a3feaa1 /sdext/Module_sdext.mk
parentCollabora Office branding (diff)
downloadcore-296389eab0263e88a311856c10813cd2bec54d1d.tar.gz
core-296389eab0263e88a311856c10813cd2bec54d1d.zip
build: support disabling poppler
This adds --enable-poppler configure option. Poppler can be enabled/disabled by setting this parameter to yes or no. Change-Id: I42ba2d27de7b5014d28523394310616d20073b71 Reviewed-on: https://gerrit.libreoffice.org/68602 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'sdext/Module_sdext.mk')
-rw-r--r--sdext/Module_sdext.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/sdext/Module_sdext.mk b/sdext/Module_sdext.mk
index 44ccba59a754..fd1d191b4939 100644
--- a/sdext/Module_sdext.mk
+++ b/sdext/Module_sdext.mk
@@ -20,10 +20,15 @@ $(eval $(call gb_Module_add_targets,sdext,\
ifeq ($(ENABLE_PDFIMPORT),TRUE)
$(eval $(call gb_Module_add_targets,sdext,\
CustomTarget_pdfimport \
- Executable_xpdfimport \
Library_pdfimport \
+))
+
+ifeq ($(ENABLE_POPPLER),TRUE)
+$(eval $(call gb_Module_add_targets,sdext,\
+ Executable_xpdfimport \
Package_pdfimport_xpdfimport \
))
+endif
$(eval $(call gb_Module_add_check_targets,sdext,\
CppunitTest_sdext_pdfimport \