From 3aa3d170a0f05a2f808f07446f869f38328466e5 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 2 Apr 2013 16:02:31 +0300 Subject: 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 --- cppunit/Module_cppunit.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cppunit') 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: -- cgit