Quellcode durchsuchen

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

* fix: consider possible missing runtime config: MDd

* use the proper API.
Lazy_V vor 1 Jahr
Ursprung
Commit
69bc447c04
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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