build: let cmake know when we're cross compiling on msvc

This (unsurprisingly) makes some things actually work as they're
expected to when cross compiling, like windeployqt

Signed-off-by: Seth Flynn <getchoo@tuta.io>
This commit is contained in:
Seth Flynn
2025-07-04 02:13:47 -04:00
parent 822b10e46e
commit 91abebbb59

View File

@@ -20,7 +20,10 @@
"hidden": true, "hidden": true,
"inherits": [ "inherits": [
"windows_msvc_base" "windows_msvc_base"
] ],
"cacheVariables": {
"CMAKE_SYSTEM_NAME": "${hostSystemName}"
}
}, },
{ {
"name": "windows_msvc_debug", "name": "windows_msvc_debug",