summaryrefslogtreecommitdiff
path: root/xmake/modules/package/tools/cmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2024-11-26 21:12:03 +0800
committerGitHub <[email protected]>2024-11-26 21:12:03 +0800
commitcd3b327d4e15c79a64e749c5b04ecb5e93dd06a7 (patch)
tree2306c694490f7f5d362829dfe6aead548be20cb9 /xmake/modules/package/tools/cmake.lua
parent3bafa9480911717fd9ee49cd48e02c7c7020bc5d (diff)
Update cmake.lua
Diffstat (limited to 'xmake/modules/package/tools/cmake.lua')
-rw-r--r--xmake/modules/package/tools/cmake.lua1
1 files changed, 1 insertions, 0 deletions
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