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

* fix: consider possible missing runtime config: MDd

* use the proper API.
pull/3698/head
Lazy_V 8 months ago committed by GitHub
parent 79f33de757
commit 69bc447c04
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      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

Loading…
Cancel
Save