summaryrefslogtreecommitdiff
path: root/RepositoryExternal.mk
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@verizon.net>2012-11-25 16:37:40 -0500
committerDavid Tardon <dtardon@redhat.com>2012-12-06 13:53:52 +0100
commit143835b928d00b922c29471bbeca4772237b4df9 (patch)
tree19ba402c86e31eabb86daa9440d075f5750ba203 /RepositoryExternal.mk
parent8cf32d61a75b1dbb496b38cd95c54b972aea183f (diff)
convert cppunit to gbuild
Change-Id: Idcba54973940b9f197f2fd84a906b50468d1b166
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r--RepositoryExternal.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
index fc307e30d191..f59c69ac30c9 100644
--- a/RepositoryExternal.mk
+++ b/RepositoryExternal.mk
@@ -149,9 +149,15 @@ $(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO,\
))
define gb_LinkTarget__use_cppunit
+$(call gb_LinkTarget_use_package,$(1),cppunit)
+
$(call gb_LinkTarget_use_libraries,$(1),\
cppunit \
)
+$(call gb_LinkTarget_set_include,$(1),\
+ -I$(call gb_UnpackedTarball_get_dir,cppunit/include)\
+ $$(INCLUDE) \
+)
endef