|
@@ -6,6 +6,7 @@ package("ozz-animation")
|
|
|
add_urls("https://github.com/guillaumeblanc/ozz-animation/archive/refs/tags/$(version).tar.gz",
|
|
|
"https://github.com/guillaumeblanc/ozz-animation.git")
|
|
|
|
|
|
+ add_versions("0.14.3", "1ab7d2fbf4c5a79aafac43cbd41ac9cff1e7f750248bee5141da5ee2d893cefe")
|
|
|
add_versions("0.14.2", "52938e5a699b2c444dfeb2375facfbb7b1e3d405b424e361ad1a27391a53b89a")
|
|
|
|
|
|
add_configs("fbx", {description = "Build Fbx pipeline (Requires Fbx SDK)", default = false, type = "boolean"})
|
|
@@ -16,7 +17,13 @@ package("ozz-animation")
|
|
|
|
|
|
add_deps("cmake")
|
|
|
|
|
|
+ add_links("ozz_animation", "ozz_animation_offline", "ozz_geometry", "ozz_options", "ozz_base")
|
|
|
+
|
|
|
on_install(function (package)
|
|
|
+ if package:is_plat("windows") and package:is_arch("arm.*") then
|
|
|
+ io.replace("build-utils/cmake/compiler_settings.cmake", "add_compile_options(/WX)", "", {plain = true})
|
|
|
+ end
|
|
|
+
|
|
|
local configs =
|
|
|
{
|
|
|
"-Dozz_build_tools=OFF",
|