summaryrefslogtreecommitdiff
path: root/tests/projects/package/components/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2024-01-23 22:55:55 +0800
committerruki <[email protected]>2024-01-25 12:09:58 +0800
commit229bccd5eeca9fb6da8b93c76d0d13f9c2b85314 (patch)
tree0f0020912c9a12b958e986c8832cae099bf45f54 /tests/projects/package/components/xmake.lua
parent2fb724f49f1ededb23998688c90ba01ec0d12467 (diff)
remove more vs_runtime
Diffstat (limited to 'tests/projects/package/components/xmake.lua')
-rw-r--r--tests/projects/package/components/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/projects/package/components/xmake.lua b/tests/projects/package/components/xmake.lua
index 6185f5178..14dbe472d 100644
--- a/tests/projects/package/components/xmake.lua
+++ b/tests/projects/package/components/xmake.lua
@@ -175,7 +175,7 @@ package("sfml")
table.insert(configs, "-DBUILD_SHARED_LIBS=ON")
else
table.insert(configs, "-DBUILD_SHARED_LIBS=OFF")
- if package:is_plat("windows") and package:config("vs_runtime"):startswith("MT") then
+ if package:is_plat("windows") and package:runtimes():startswith("MT") then
table.insert(configs, "-DSFML_USE_STATIC_STD_LIBS=ON")
end
end