diff options
author | Erik Kundiman <erik@megapahit.org> | 2023-09-10 20:30:24 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2023-09-10 20:30:24 +0800 |
commit | 2a1565fa402578d2170b0e86db99c9cb2fdab1cb (patch) | |
tree | ffcc6d2c6df3424b4d197c5599be234dafc6b8d0 /indra/cmake | |
parent | 5c1d8537c940450cdc6f8548aec478c440e68b5a (diff) |
TinyGLTF & Vulkan glTF not included on systemlibs
Vulkan glTF doesn't seem to be used yet.
TINYGLTF_INCLUDE_DIR doesn't seem to be used yet either.
Tiny GLTF can be headers only, easy to install to system.
Diffstat (limited to 'indra/cmake')
-rw-r--r-- | indra/cmake/TinyGLTF.cmake | 4 | ||||
-rw-r--r-- | indra/cmake/VulkanGltf.cmake | 2 |
2 files changed, 6 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) + diff --git a/indra/cmake/VulkanGltf.cmake b/indra/cmake/VulkanGltf.cmake index 94541d5307..d7083a33c9 100644 --- a/indra/cmake/VulkanGltf.cmake +++ b/indra/cmake/VulkanGltf.cmake @@ -1,5 +1,7 @@ # -*- cmake -*- include(Prebuilt) +if (NOT USESYSTEMLIBS) use_prebuilt_binary(vulkan_gltf) +endif () |