summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
Diffstat (limited to 'svl')
-rw-r--r--svl/CppunitTest_svl_qa_cppunit.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/svl/CppunitTest_svl_qa_cppunit.mk b/svl/CppunitTest_svl_qa_cppunit.mk
index a067efe8794f..4f3cdcae7b63 100644
--- a/svl/CppunitTest_svl_qa_cppunit.mk
+++ b/svl/CppunitTest_svl_qa_cppunit.mk
@@ -28,10 +28,12 @@ $(eval $(call gb_CppunitTest_use_externals,svl_qa_cppunit, \
))
ifeq ($(ENABLE_LIBNUMBERTEXT),TRUE)
+ifneq ($(SYSTEM_LIBNUMBERTEXT),YES)
$(eval $(call gb_CppunitTest_use_package,svl_qa_cppunit, \
libnumbertext_numbertext \
))
endif
+endif
$(eval $(call gb_CppunitTest_add_defs,svl_qa_cppunit, \
-DENABLE_LIBNUMBERTEXT=$(if $(filter TRUE,$(ENABLE_LIBNUMBERTEXT)),1,0) \