summaryrefslogtreecommitdiffstats
path: root/Modules/MacOSXBundleInfo.plist.in
diff options
context:
space:
mode:
authorĽubomír Carik <Lubomir.Carik@gmail.com>2017-04-08 21:33:26 (GMT)
committerBrad King <brad.king@kitware.com>2017-04-11 13:49:12 (GMT)
commitd9140305077c13defa04774b4a8f5233a76f8399 (patch)
tree787815bb3786ce7501d8b4d88750d977a697f9b9 /Modules/MacOSXBundleInfo.plist.in
parente086b0e081d10f491dfe67fe065586423524942a (diff)
downloadCMake-d9140305077c13defa04774b4a8f5233a76f8399.zip
CMake-d9140305077c13defa04774b4a8f5233a76f8399.tar.gz
CMake-d9140305077c13defa04774b4a8f5233a76f8399.tar.bz2
macOS: Enable Hi-DPI support in applications by default
Every desktop application should be HiDPI ready in present. Based on information from Qt documentation enabling properties in `Info.plist` is sufficient to activate this feature. Newer versions of `qmake` do it. Signed-off-by: Ľubomír Carik <Lubomir.Carik@gmail.com>
Diffstat (limited to 'Modules/MacOSXBundleInfo.plist.in')
-rw-r--r--Modules/MacOSXBundleInfo.plist.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/MacOSXBundleInfo.plist.in b/Modules/MacOSXBundleInfo.plist.in
index a4009bc..e06b17e 100644
--- a/Modules/MacOSXBundleInfo.plist.in
+++ b/Modules/MacOSXBundleInfo.plist.in
@@ -30,5 +30,9 @@
<true/>
<key>NSHumanReadableCopyright</key>
<string>${MACOSX_BUNDLE_COPYRIGHT}</string>
+ <key>NSPrincipalClass</key>
+ <string>NSApplication</string>
+ <key>NSHighResolutionCapable</key>
+ <string>True</string>
</dict>
</plist>