Auto-update tinygltf to v2.9.2 (#4622)

* Update tinygltf to v2.9.2

* trigger ci

* Update xmake.lua

---------

Co-authored-by: star9029 <hengxings783@gmail.com>
Co-authored-by: Jérôme Leclercq <lynix680@gmail.com>
pull/4626/head
ruki 5 months ago committed by GitHub
parent 98183ddec5
commit 9975679ad9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      packages/n/nlohmann_json/xmake.lua
  2. 4
      packages/t/tinygltf/xmake.lua

@ -1,5 +1,5 @@
package("nlohmann_json")
set_kind("library", { headeronly = true })
set_homepage("https://nlohmann.github.io/json/")
set_description("JSON for Modern C++")
set_license("MIT")

@ -6,6 +6,8 @@ package("tinygltf")
add_urls("https://github.com/syoyo/tinygltf/archive/refs/tags/$(version).tar.gz",
"https://github.com/syoyo/tinygltf.git")
add_versions("v2.9.2", "b34d1456bb1d63bbb4e05ea1e4d8691d0253a03ef72385a8bffd2fae4b743feb")
add_versions("v2.8.22", "97c3eb1080c1657cd749d0b49af189c6a867d5af30689c48d5e19521e7b5a070")
add_versions("v2.8.21", "e567257d7addde58b0a483832cbaa5dd8f15e5bcaee6f023831e215d1a2c0502")
add_versions("v2.5.0", "5d85bd556b60b1b69527189293cfa4902957d67fabb8582b6532f23a5ef27ec1")
@ -20,7 +22,7 @@ package("tinygltf")
"-DTINYGLTF_BUILD_LOADER_EXAMPLE=OFF",
"-DTINYGLTF_HEADER_ONLY=ON"
}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release"))
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release"))
table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
import("package.tools.cmake").install(package, configs)
end)

Loading…
Cancel
Save