diff options
author | Brad King <brad.king@kitware.com> | 2020-04-15 13:50:30 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-04-15 13:50:49 (GMT) |
commit | 4f7d16c68fd4825edbee6193c7dec7a3c93651b6 (patch) | |
tree | 2002cace0a70bdbf43ef30aff6a665fe235b971f /Source/CPack | |
parent | 156196938c5e03e881592dd3247021063167abc0 (diff) | |
parent | d6840a4f3cee501aa910035bb7fa2dad3c8d7f73 (diff) | |
download | CMake-4f7d16c68fd4825edbee6193c7dec7a3c93651b6.zip CMake-4f7d16c68fd4825edbee6193c7dec7a3c93651b6.tar.gz CMake-4f7d16c68fd4825edbee6193c7dec7a3c93651b6.tar.bz2 |
Merge topic 'cpack-nsis-dpi-aware'
d6840a4f3c CPack/NSIS: Add option for setting DPI-aware
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4607
Diffstat (limited to 'Source/CPack')
-rw-r--r-- | Source/CPack/cmCPackNSISGenerator.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/CPack/cmCPackNSISGenerator.cxx b/Source/CPack/cmCPackNSISGenerator.cxx index 9afdc62..3067f96 100644 --- a/Source/CPack/cmCPackNSISGenerator.cxx +++ b/Source/CPack/cmCPackNSISGenerator.cxx @@ -203,6 +203,11 @@ int cmCPackNSISGenerator::PackageFiles() "!define MUI_FINISHPAGE_TITLE_3LINES"); } + if (this->IsSet("CPACK_NSIS_MANIFEST_DPI_AWARE")) { + this->SetOptionIfNotSet("CPACK_NSIS_MANIFEST_DPI_AWARE_CODE", + "ManifestDPIAware true"); + } + // Setup all of the component sections if (this->Components.empty()) { this->SetOptionIfNotSet("CPACK_NSIS_INSTALLATION_TYPES", ""); |