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.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/cmake/TinyGLTF.cmake b/indra/cmake/TinyGLTF.cmake
index bb731637a0..58ba5620bf 100644
--- a/indra/cmake/TinyGLTF.cmake
+++ b/indra/cmake/TinyGLTF.cmake
@@ -1,7 +1,11 @@
# -*- cmake -*-
include(Prebuilt)
+if (NOT USESYSTEMLIBS)
+
use_prebuilt_binary(tinygltf)
set(TINYGLTF_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/include/tinygltf)
+endif (NOT USESYSTEMLIBS)
+