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
No known key found for this signature in database
GPG key ID: D31BD0D494BBEE86

View file

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