diff options
| author | ruki <[email protected]> | 2025-03-15 08:08:43 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-03-15 08:08:43 +0800 |
| commit | 6cd2c5ddc731043f986b6d1413984ef5081f7875 (patch) | |
| tree | 0b7ccd1a3ae680c50bc07f2d211014ced89ea4d9 | |
| parent | 153d72243beeccbf7b5d9056413548f0d6b7b3b9 (diff) | |
| parent | 6136201dff63edcf59106cc6f7a93b4a09c7ff68 (diff) | |
Merge pull request #6219 from SirLynix/patch-18
meson: Force to use vs env on Windows
| -rw-r--r-- | xmake/modules/package/tools/meson.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/package/tools/meson.lua b/xmake/modules/package/tools/meson.lua index a9876fe6b..8a34682a4 100644 --- a/xmake/modules/package/tools/meson.lua +++ b/xmake/modules/package/tools/meson.lua @@ -346,6 +346,7 @@ function _get_configs(package, configs, opt) -- add vs runtimes flags if package:is_plat("windows") then + table.insert(configs, "--vsenv") if package:has_runtime("MT") then table.insert(configs, "-Db_vscrt=mt") elseif package:has_runtime("MTd") then |
