diff options
| author | biobot <[email protected]> | 2020-09-21 20:00:49 +0800 |
|---|---|---|
| committer | biobot <[email protected]> | 2020-09-21 20:00:49 +0800 |
| commit | 09278e926aeca61acebbcabd65c97df42514d55e (patch) | |
| tree | 16e34ad4d4e9f5b5b57cc3963f685501636fef17 /xmake/modules/package/tools/cmake.lua | |
| parent | bb9a534a3f966d6f9c93bc843f3c5eb2ffab7575 (diff) | |
fix typo
Signed-off-by: biobot <[email protected]>
Diffstat (limited to 'xmake/modules/package/tools/cmake.lua')
| -rw-r--r-- | xmake/modules/package/tools/cmake.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/package/tools/cmake.lua b/xmake/modules/package/tools/cmake.lua index 03150173c..742adcf61 100644 --- a/xmake/modules/package/tools/cmake.lua +++ b/xmake/modules/package/tools/cmake.lua @@ -194,7 +194,7 @@ function _get_configs_for_generator(package, configs, opt) end table.insert(configs, "-G") table.insert(configs, cmake_generator) - elseif package:is_plat("mingw") and is_host("host") then + elseif package:is_plat("mingw") and is_host("windows") then table.insert(configs, "-G") table.insert(configs, "MSYS Makefiles") end |
