summaryrefslogtreecommitdiff
path: root/cppunit
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-04-02 16:02:31 +0300
committerTor Lillqvist <tml@iki.fi>2013-04-02 18:17:51 +0300
commit3aa3d170a0f05a2f808f07446f869f38328466e5 (patch)
tree69616fd0f6856db1bb465579e2e17fd3a94b0a7f /cppunit
parent60212d610762c262782eaf79bfd1fa3798d8afa7 (diff)
Bypass cppunit stuff for non-DESKTOP in more places
We don't run any cppunit tests for cross-compiled platforms anyway, so no point in compiling that. (Especially as compiling cppunit currently fails in a --enable-werror build at least for Android thanks to -Wundef.) Change-Id: I3139c62305ccfeddc0f67729f10e224618d2fc03
Diffstat (limited to 'cppunit')
-rw-r--r--cppunit/Module_cppunit.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/cppunit/Module_cppunit.mk b/cppunit/Module_cppunit.mk
index 32a3fb831cc8..53ed611fe0c1 100644
--- a/cppunit/Module_cppunit.mk
+++ b/cppunit/Module_cppunit.mk
@@ -9,6 +9,8 @@
$(eval $(call gb_Module_Module,cppunit))
+ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
+
ifeq ($(SYSTEM_CPPUNIT),NO)
$(eval $(call gb_Module_add_targets,cppunit,\
UnpackedTarball_cppunit \
@@ -17,4 +19,6 @@ $(eval $(call gb_Module_add_targets,cppunit,\
))
endif
+endif
+
# vim: set noet sw=4 ts=4: