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
This commit is contained in:
Tor Lillqvist
2013-04-02 16:02:31 +03:00
parent 60212d6107
commit 3aa3d170a0
3 changed files with 10 additions and 0 deletions

View File

@@ -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: