summaryrefslogtreecommitdiff
path: root/indra/cmake/TinyGLTF.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'indra/cmake/TinyGLTF.cmake')
-rw-r--r--indra/cmake/TinyGLTF.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/cmake/TinyGLTF.cmake b/indra/cmake/TinyGLTF.cmake
new file mode 100644
index 0000000000..58ba5620bf
--- /dev/null
+++ b/indra/cmake/TinyGLTF.cmake
@@ -0,0 +1,11 @@
+# -*- cmake -*-
+include(Prebuilt)
+
+if (NOT USESYSTEMLIBS)
+
+use_prebuilt_binary(tinygltf)
+
+set(TINYGLTF_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/include/tinygltf)
+
+endif (NOT USESYSTEMLIBS)
+