Просмотр исходного кода

allow to switch to the integrated gpu on MacOS

without that key, the client automatically runs on the dedicated gpu (if
present). now it allows the system to use the integrated one.

closes #501
Markus Doits 7 лет назад
Родитель
Сommit
2335688b68
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      cmake/modules/MacOSXBundleInfo.plist.in

+ 2 - 0
cmake/modules/MacOSXBundleInfo.plist.in

@@ -28,6 +28,8 @@
         <string>@MIRALL_VERSION_STRING@</string>
         <string>@MIRALL_VERSION_STRING@</string>
         <key>NSHumanReadableCopyright</key>
         <key>NSHumanReadableCopyright</key>
         <string>(C) 2014-2018 @APPLICATION_VENDOR@</string>
         <string>(C) 2014-2018 @APPLICATION_VENDOR@</string>
+        <key>NSSupportsAutomaticGraphicsSwitching</key>
+        <true/>
         <key>SUShowReleaseNotes</key>
         <key>SUShowReleaseNotes</key>
         <false/>
         <false/>
         <key>SUPublicDSAKeyFile</key>
         <key>SUPublicDSAKeyFile</key>