This commit is contained in:
Yuhang Zhao 2023-08-15 19:51:18 +08:00
parent 67eda16e55
commit 4a68132993
1 changed files with 10 additions and 14 deletions

View File

@ -1532,15 +1532,11 @@ function(generate_win32_manifest_file)
endif() endif()
set(__architecture "") set(__architecture "")
if(MF_ARGS_ARCHITECTURE) if(MF_ARGS_ARCHITECTURE)
set(__architecture "${MF_ARGS_ARCHITECTURE}") set(__architecture "processorArchitecture=\"${MF_ARGS_ARCHITECTURE}\"")
else()
set(__architecture "*")
endif() endif()
set(__language "") set(__language "")
if(MF_ARGS_LANGUAGE) if(MF_ARGS_LANGUAGE)
set(__language "${MF_ARGS_LANGUAGE}") set(__language "language=\"${MF_ARGS_LANGUAGE}\"")
else()
set(__language "*")
endif() endif()
set(__public_key_token "") set(__public_key_token "")
if(MF_ARGS_PUBLIC_KEY_TOKEN) if(MF_ARGS_PUBLIC_KEY_TOKEN)
@ -1613,7 +1609,7 @@ function(generate_win32_manifest_file)
<!-- This file is auto-generated by CMake. DO NOT EDIT! ALL MODIFICATIONS WILL BE LOST! --> <!-- This file is auto-generated by CMake. DO NOT EDIT! ALL MODIFICATIONS WILL BE LOST! -->
<assembly xmlns=\"urn:schemas-microsoft-com:asm.v1\" manifestVersion=\"1.0\"> <assembly xmlns=\"urn:schemas-microsoft-com:asm.v1\" manifestVersion=\"1.0\">
<assemblyIdentity type=\"win32\" name=\"${__id}\" version=\"${__version}\" processorArchitecture=\"${__architecture}\" ${__public_key_token}language=\"${__language}\"/> <assemblyIdentity type=\"win32\" name=\"${__id}\" version=\"${__version}\" ${__architecture} ${__public_key_token} ${__language}/>
${__description} ${__description}
<dependency> <dependency>
<dependentAssembly> <dependentAssembly>
@ -1641,14 +1637,14 @@ function(generate_win32_manifest_file)
<windowsSettings> <windowsSettings>
<dpiAware xmlns=\"http://schemas.microsoft.com/SMI/2005/WindowsSettings\">True/PM</dpiAware> <dpiAware xmlns=\"http://schemas.microsoft.com/SMI/2005/WindowsSettings\">True/PM</dpiAware>
<dpiAwareness xmlns=\"http://schemas.microsoft.com/SMI/2016/WindowsSettings\">PerMonitorV2, PerMonitor</dpiAwareness> <dpiAwareness xmlns=\"http://schemas.microsoft.com/SMI/2016/WindowsSettings\">PerMonitorV2, PerMonitor</dpiAwareness>
<printerDriverIsolation xmlns=\"http://schemas.microsoft.com/SMI/2011/WindowsSettings\">True</printerDriverIsolation> <printerDriverIsolation xmlns=\"http://schemas.microsoft.com/SMI/2011/WindowsSettings\">true</printerDriverIsolation>
<longPathAware xmlns=\"http://schemas.microsoft.com/SMI/2016/WindowsSettings\">True</longPathAware> <longPathAware xmlns=\"http://schemas.microsoft.com/SMI/2016/WindowsSettings\">true</longPathAware>
<heapType xmlns=\"http://schemas.microsoft.com/SMI/2020/WindowsSettings\">SegmentHeap</heapType> <heapType xmlns=\"http://schemas.microsoft.com/SMI/2020/WindowsSettings\">SegmentHeap</heapType>
${__utf8_codepage} ${__utf8_codepage}
<disableWindowFiltering xmlns=\"http://schemas.microsoft.com/SMI/2011/WindowsSettings\">True</disableWindowFiltering> <disableWindowFiltering xmlns=\"http://schemas.microsoft.com/SMI/2011/WindowsSettings\">true</disableWindowFiltering>
<highResolutionScrollingAware>True</highResolutionScrollingAware> <!-- <highResolutionScrollingAware>true</highResolutionScrollingAware> -->
<ultraHighResolutionScrollingAware>True</ultraHighResolutionScrollingAware> <!-- <ultraHighResolutionScrollingAware>true</ultraHighResolutionScrollingAware> -->
<!-- <gdiScaling xmlns=\"http://schemas.microsoft.com/SMI/2017/WindowsSettings\">True</gdiScaling> --> <!-- <gdiScaling xmlns=\"http://schemas.microsoft.com/SMI/2017/WindowsSettings\">true</gdiScaling> -->
</windowsSettings> </windowsSettings>
</application> </application>
</assembly> </assembly>