summaryrefslogtreecommitdiff
path: root/RepositoryExternal.mk
diff options
context:
space:
mode:
authorZolnai Tamás <tamas.zolnai@collabora.com>2014-04-10 13:37:38 +0200
committerMatúš Kukan <matus.kukan@collabora.com>2014-05-13 16:34:49 +0200
commitd575917016f65a7322817a8e13ec25c52d18a600 (patch)
treecb61c65510981ea1cc6f91cb5fe766ecf0ee9aba /RepositoryExternal.mk
parentaa5fe7958d087fbd6e64b29bbf2fa6e4d9ba5ab6 (diff)
Introduce Collada2gltf external library
Change-Id: I157f175ee6ea719e98ba45133f53cb4d2c3045bb
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r--RepositoryExternal.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
index f49b98f078e3..6e2d19b0b6c6 100644
--- a/RepositoryExternal.mk
+++ b/RepositoryExternal.mk
@@ -3134,6 +3134,22 @@ $(call gb_LinkTarget_use_static_libraries,$(1),\
)
endef
+define gb_LinkTarget__use_collada2gltf
+$(call gb_LinkTarget_set_include,$(1),\
+ -I$(call gb_UnpackedTarball_get_dir,collada2gltf) \
+ -I$(call gb_UnpackedTarball_get_dir,collada2gltf)/assetModifiers \
+ -I$(call gb_UnpackedTarball_get_dir,collada2gltf)/GLTF \
+ -I$(call gb_UnpackedTarball_get_dir,collada2gltf)/helpers \
+ -I$(call gb_UnpackedTarball_get_dir,collada2gltf)/JSON \
+ -I$(call gb_UnpackedTarball_get_dir,collada2gltf)/dependencies/json/include/rapidjson/ \
+ $$(INCLUDE) \
+)
+
+$(call gb_LinkTarget_use_static_libraries,$(1),\
+ collada2gltf \
+)
+endef
+
endif
### Jars ############################################################