Simplify Windows application manifests
In section "dependency" use "*" in processorArchitecture instead of specifying the concrete architecture such as "amd64" or "x86". This allows to have just one manifest for all architectures instead of having them for all supported architectures individually differing in just processorArchitecture.
This commit is contained in:
@@ -795,17 +795,13 @@ function(wx_add name group)
|
||||
endif()
|
||||
|
||||
if (WXMSW AND DEFINED wxUSE_DPI_AWARE_MANIFEST)
|
||||
set(wxDPI_MANIFEST_PRFIX "wx")
|
||||
if (wxARCH_SUFFIX)
|
||||
set(wxDPI_MANIFEST_PRFIX "amd64")
|
||||
endif()
|
||||
set(wxUSE_DPI_AWARE_MANIFEST_VALUE 0)
|
||||
if (${wxUSE_DPI_AWARE_MANIFEST} MATCHES "system")
|
||||
set(wxUSE_DPI_AWARE_MANIFEST_VALUE 1)
|
||||
list(APPEND src_files "${wxSOURCE_DIR}/include/wx/msw/${wxDPI_MANIFEST_PRFIX}_dpi_aware.manifest")
|
||||
list(APPEND src_files "${wxSOURCE_DIR}/include/wx/msw/wx_dpi_aware.manifest")
|
||||
elseif(${wxUSE_DPI_AWARE_MANIFEST} MATCHES "per-monitor")
|
||||
set(wxUSE_DPI_AWARE_MANIFEST_VALUE 2)
|
||||
list(APPEND src_files "${wxSOURCE_DIR}/include/wx/msw/${wxDPI_MANIFEST_PRFIX}_dpi_aware_pmv2.manifest")
|
||||
list(APPEND src_files "${wxSOURCE_DIR}/include/wx/msw/wx_dpi_aware_pmv2.manifest")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user