diff options
| author | Jérôme Leclercq <[email protected]> | 2025-03-14 10:07:54 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-03-14 10:07:54 +0100 |
| commit | 6136201dff63edcf59106cc6f7a93b4a09c7ff68 (patch) | |
| tree | 0b7ccd1a3ae680c50bc07f2d211014ced89ea4d9 | |
| parent | 153d72243beeccbf7b5d9056413548f0d6b7b3b9 (diff) | |
meson: Force to use vs env on Windows
to not detect MinGW if both are available
| -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 |
