macOS: Opt In to Dark Mode for building against older macOS SDKs < 10.14
authorMichael Schuster <michael@schuster.ms>
Sun, 7 Jun 2020 14:21:02 +0000 (16:21 +0200)
committerMichael Schuster <michael@schuster.ms>
Sun, 7 Jun 2020 14:21:02 +0000 (16:21 +0200)
Required for our build server that uses an older SDK to support previous macOS versions.

See: https://developer.apple.com/documentation/appkit/nsappearancecustomization/choosing_a_specific_appearance_for_your_macos_app

Signed-off-by: Michael Schuster <michael@schuster.ms>
cmake/modules/MacOSXBundleInfo.plist.in

index 4ee60dcabcf002b215e46f921715ccccc09dd603..b753d9e5e3c2859714c30fffa5440bd35493fabd 100644 (file)
@@ -30,6 +30,8 @@
         <string>(C) 2014-2020 @APPLICATION_VENDOR@</string>
         <key>NSSupportsAutomaticGraphicsSwitching</key>
         <true/>
+        <key>NSRequiresAquaSystemAppearance</key>
+        <false/>
         <key>SUShowReleaseNotes</key>
         <false/>
         <key>SUPublicDSAKeyFile</key>