summaryrefslogtreecommitdiff
path: root/sw/CppunitTest_sw_ooxmlimport.mk
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2020-01-18 14:05:24 +0100
committerLuboš Luňák <l.lunak@collabora.com>2020-01-18 14:57:05 +0100
commite1e9796f521e6fb7a043af410db754891559b24a (patch)
treedb3060125d00fdcdd60badc56edcd622e859a008 /sw/CppunitTest_sw_ooxmlimport.mk
parenta0323937ff4b36594e26b5c1a143af188c75abfc (diff)
do not reuse common PCH if switching to Objective C++
In those cases gbuild detects flags mismatch between the PCH and the source files (-x objective-c++ -fobjc-exceptions). Change-Id: I88d456f59f95afaf60e252e07151ece6667ed51b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87016 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'sw/CppunitTest_sw_ooxmlimport.mk')
-rw-r--r--sw/CppunitTest_sw_ooxmlimport.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/CppunitTest_sw_ooxmlimport.mk b/sw/CppunitTest_sw_ooxmlimport.mk
index 44d03956d688..c6d111e5acc9 100644
--- a/sw/CppunitTest_sw_ooxmlimport.mk
+++ b/sw/CppunitTest_sw_ooxmlimport.mk
@@ -11,7 +11,9 @@
$(eval $(call gb_CppunitTest_CppunitTest,sw_ooxmlimport))
+ifneq ($(OS),MACOSX)
$(eval $(call gb_CppunitTest_use_common_precompiled_header,sw_ooxmlimport))
+endif
$(eval $(call gb_CppunitTest_add_exception_objects,sw_ooxmlimport, \
sw/qa/extras/ooxmlimport/ooxmlimport \