summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2020-09-21 20:11:54 +0800
committerGitHub <[email protected]>2020-09-21 20:11:54 +0800
commitd4609ae08abe985b8f969fe544686205eb2837cb (patch)
tree16e34ad4d4e9f5b5b57cc3963f685501636fef17
parentbb9a534a3f966d6f9c93bc843f3c5eb2ffab7575 (diff)
parent09278e926aeca61acebbcabd65c97df42514d55e (diff)
Merge pull request #968 from Biobots/dev
fix typo
-rw-r--r--xmake/modules/package/tools/cmake.lua2
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