Skip to content

Commit 760ccdd

Browse files
committed
Update cmake.lua
1 parent b88ecae commit 760ccdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xmake/modules/package/tools/cmake.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -1155,7 +1155,7 @@ function _get_cmake_generator(package, opt)
11551155
if not cmake_generator then
11561156
if package:has_tool("cc", "clang_cl") or package:has_tool("cxx", "clang_cl") then
11571157
cmake_generator = "Ninja"
1158-
elseif is_subhost("windows") and (package:is_plat("mingw", "wasm")) then
1158+
elseif is_subhost("windows") and package:is_plat("mingw", "wasm") then
11591159
local mingw_make = _get_mingw32_make(package)
11601160
if not mingw_make and find_tool("ninja") then
11611161
cmake_generator = "Ninja"

0 commit comments

Comments
 (0)