From 09278e926aeca61acebbcabd65c97df42514d55e Mon Sep 17 00:00:00 2001 From: biobot Date: Mon, 21 Sep 2020 20:00:49 +0800 Subject: fix typo Signed-off-by: biobot --- xmake/modules/package/tools/cmake.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.3.1