From cd3b327d4e15c79a64e749c5b04ecb5e93dd06a7 Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 26 Nov 2024 21:12:03 +0800 Subject: Update cmake.lua --- xmake/modules/package/tools/cmake.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/xmake/modules/package/tools/cmake.lua b/xmake/modules/package/tools/cmake.lua index 0d624522c..6d7f15dce 100644 --- a/xmake/modules/package/tools/cmake.lua +++ b/xmake/modules/package/tools/cmake.lua @@ -581,6 +581,7 @@ function _get_configs_for_mingw(package, configs, opt) envs.CMAKE_SHARED_LINKER_FLAGS = _get_shflags(package, opt) envs.CMAKE_MODULE_LINKER_FLAGS = _get_shflags(package, opt) -- @see https://cmake.org/cmake/help/latest/variable/CMAKE_CROSSCOMPILING.html + -- https://github.com/xmake-io/xmake/pull/5888 if not is_host("windows") then envs.CMAKE_SYSTEM_NAME = "Windows" end -- cgit v1.3.1