diff options
author | Tor Lillqvist <tml@collabora.com> | 2015-04-28 19:13:08 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2015-04-28 19:25:27 +0300 |
commit | baee89d5a068fe950e78e9ec13937f237c5a2c9e (patch) | |
tree | 500618ea9b19279a1e216a61a956f8d8dd8767e4 /sd/CppunitTest_sd_import_tests.mk | |
parent | 65a34bdc4dd2f5e736010e9f40cded6e022e75c0 (diff) |
Check ENABLE_PDFIMPORT
Change-Id: I1c0e7e5ecfcd62315e367d537cd3e0466b66e48f
Diffstat (limited to 'sd/CppunitTest_sd_import_tests.mk')
-rw-r--r-- | sd/CppunitTest_sd_import_tests.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sd/CppunitTest_sd_import_tests.mk b/sd/CppunitTest_sd_import_tests.mk index b1d20cce2cae..238f13319b46 100644 --- a/sd/CppunitTest_sd_import_tests.mk +++ b/sd/CppunitTest_sd_import_tests.mk @@ -89,7 +89,7 @@ $(eval $(call gb_CppunitTest_use_components,sd_import_tests,\ sd/util/sd \ sd/util/sdfilt \ sd/util/sdd \ - sdext/source/pdfimport/pdfimport \ + $(if $(ENABLE_PDFIMPORT),sdext/source/pdfimport/pdfimport) \ sfx2/util/sfx \ sot/util/sot \ svl/source/fsstor/fsstorage \ @@ -114,7 +114,9 @@ $(eval $(call gb_CppunitTest_use_packages,sd_import_tests,\ oox_customshapes \ )) +ifneq ($(ENABLE_PDFIMPORT),) $(eval $(call gb_CppunitTest_use_executable,sd_import_tests,xpdfimport)) +endif $(call gb_CppunitTest_get_target,sd_import_tests) : $(call gb_AllLangResTarget_get_target,sd) |