build: fix codesigning arm64 release binaries
CMAKE_CROSSCOMPILING is true when building arm64 on an x64 host, so ignore this on MSVC. Eventually we want to run osslsigncode through wine when cross compiling for win32 on other platforms, or use the native signtool. Signed-off-by: Rafael Kitover <rkitover@gmail.com>
This commit is contained in:
parent
d0194d9a75
commit
bde372bc72
|
@ -1142,7 +1142,7 @@ if(NOT TRANSLATIONS_ONLY)
|
|||
if(UPSTREAM_RELEASE AND WIN32)
|
||||
set(home "$ENV{HOME}")
|
||||
|
||||
if(NOT CMAKE_CROSSCOMPILING AND NOT DEFINED ENV{MSYSTEM_PREFIX})
|
||||
if((MSVC OR NOT CMAKE_CROSSCOMPILING) AND NOT DEFINED ENV{MSYSTEM_PREFIX})
|
||||
set(home "$ENV{USERPROFILE}")
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in New Issue