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.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/cmake/TinyGLTF.cmake b/indra/cmake/TinyGLTF.cmake
index 92b2de309f..7e74089208 100644
--- a/indra/cmake/TinyGLTF.cmake
+++ b/indra/cmake/TinyGLTF.cmake
@@ -1,7 +1,9 @@
# -*- cmake -*-
include(Prebuilt)
+if (NOT USESYSTEMLIBS)
use_prebuilt_binary(tinygltf)
+endif (NOT USESYSTEMLIBS)
set(TINYGLTF_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/include/tinygltf)