summaryrefslogtreecommitdiff
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-03-07 11:43:25 +0100
commit0d8c670797f6becc584cf2eca4f414df7a3d0d85 (patch)
treea197ba053e698bc398b16509b2bddc726770c276 /sdext/Module_sdext.mk
parentcac705fe8ef6deaf808f04e6112dd21666e501a7 (diff)
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> Reviewed-on: https://gerrit.libreoffice.org/68842 Tested-by: Jenkins
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 \