Browse Source

fix: consider possible missing runtime config: MDd (#3692)

* fix: consider possible missing runtime config: MDd

* use the proper API.
Lazy_V 1 year ago
parent
commit
69bc447c04
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/o/ozz-animation/xmake.lua

+ 1 - 1
packages/o/ozz-animation/xmake.lua

@@ -36,7 +36,7 @@ package("ozz-animation")
         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"))
         if package:is_plat("windows") then
-            table.insert(configs, "-Dozz_build_msvc_rt_dll=" .. (package:has_runtime("MD") and "ON" or "OFF"))
+            table.insert(configs, "-Dozz_build_msvc_rt_dll=" .. (package:has_runtime("MD", "MDd") and "ON" or "OFF"))
         end
         for name, enabled in pairs(package:configs()) do
             if not package:extraconf("configs", name, "builtin") then