diff options
| -rw-r--r-- | autobuild.xml | 60 | ||||
| -rw-r--r-- | indra/cmake/TinyGLTF.cmake | 7 | ||||
| -rw-r--r-- | indra/llprimitive/CMakeLists.txt | 2 | 
3 files changed, 69 insertions, 0 deletions
diff --git a/autobuild.xml b/autobuild.xml index 4c69ff71d4..f80ed200a0 100644 --- a/autobuild.xml +++ b/autobuild.xml @@ -3095,6 +3095,66 @@ Copyright (c) 2012, 2014, 2015, 2016 nghttp2 contributors</string>          <key>version</key>          <string>0.132.2</string>        </map> +      <key>tinygltf</key> +      <map> +        <key>canonical_repo</key> +        <string>https://bitbucket.org/lindenlab/3p-tinygltf</string> +        <key>copyright</key> +        <string>// Copyright (c) 2015 - Present Syoyo Fujita, Aurélien Chatelain and many contributors.</string> +        <key>description</key> +        <string>tinygltf import library</string> +        <key>license</key> +        <string>MIT</string> +        <key>license_file</key> +        <string>LICENSES/tinygltf_license.txt</string> +        <key>name</key> +        <string>tinygltf</string> +        <key>platforms</key> +        <map> +          <key>darwin64</key> +          <map> +            <key>archive</key> +            <map> +              <key>hash</key> +              <string>13ebc64d8ba6276105a3fd516c7224f0</string> +              <key>url</key> +              <string>https://s3-proxy.lindenlab.com/private-builds-secondlife-com/ct2/100740/887434/tinygltf-v2.5.0-windows64-572388.tar.bz2</string> +            </map> +            <key>name</key> +            <string>darwin64</string> +          </map> +          <key>windows</key> +          <map> +            <key>archive</key> +            <map> +              <key>hash</key> +              <string>13ebc64d8ba6276105a3fd516c7224f0</string> +              <key>url</key> +              <string>https://s3-proxy.lindenlab.com/private-builds-secondlife-com/ct2/100740/887434/tinygltf-v2.5.0-windows64-572388.tar.bz2</string> +            </map> +            <key>name</key> +            <string>windows</string> +          </map> +          <key>windows64</key> +          <map> +            <key>archive</key> +            <map> +              <key>hash</key> +              <string>13ebc64d8ba6276105a3fd516c7224f0</string> +              <key>url</key> +              <string>https://s3-proxy.lindenlab.com/private-builds-secondlife-com/ct2/100740/887434/tinygltf-v2.5.0-windows64-572388.tar.bz2</string> +            </map> +            <key>name</key> +            <string>windows64</string> +          </map> +        </map> +        <key>source</key> +        <string>https://bitbucket.org/lindenlab/3p-tinygltf</string> +        <key>source_type</key> +        <string>git</string> +        <key>version</key> +        <string>v2.5.0</string> +      </map>        <key>tracy</key>        <map>          <key>canonical_repo</key> diff --git a/indra/cmake/TinyGLTF.cmake b/indra/cmake/TinyGLTF.cmake new file mode 100644 index 0000000000..bb731637a0 --- /dev/null +++ b/indra/cmake/TinyGLTF.cmake @@ -0,0 +1,7 @@ +# -*- cmake -*- +include(Prebuilt) + +use_prebuilt_binary(tinygltf) + +set(TINYGLTF_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/include/tinygltf)  + diff --git a/indra/llprimitive/CMakeLists.txt b/indra/llprimitive/CMakeLists.txt index 2395841eae..e131b12371 100644 --- a/indra/llprimitive/CMakeLists.txt +++ b/indra/llprimitive/CMakeLists.txt @@ -11,6 +11,7 @@ include(LLXML)  include(LLPhysicsExtensions)  include(LLCharacter)  include(LLRender) +include(TinyGLTF)  include_directories(      ${LLCOMMON_INCLUDE_DIRS} @@ -21,6 +22,7 @@ include_directories(      ${LIBS_PREBUILT_DIR}/include/collada      ${LIBS_PREBUILT_DIR}/include/collada/1.4      ${LLCHARACTER_INCLUDE_DIRS} +    ${TINYGLTF_INCLUDE_DIR}      )  include_directories(SYSTEM      ${LLCOMMON_SYSTEM_INCLUDE_DIRS}  | 
