From 09409a51089db5432c0bdd7ec8f2e3907a8b2669 Mon Sep 17 00:00:00 2001
From: shinra-electric <50119606+shinra-electric@users.noreply.github.com>
Date: Mon, 27 Nov 2023 12:24:26 +0100
Subject: [PATCH] Set macOS min version to 12.0 Monterey (#1025)
---
src/CMakeLists.txt | 1 +
src/resource/MacOSXBundleInfo.plist.in | 8 +++++---
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 00a43a80..8ab07e7a 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -81,6 +81,7 @@ if (MACOS_BUNDLE)
set(MACOSX_BUNDLE_COPYRIGHT "Copyright © 2023 Cemu Project")
set(MACOSX_BUNDLE_CATEGORY "public.app-category.games")
+ set(MACOSX_MINIMUM_SYSTEM_VERSION "12.0")
set_target_properties(CemuBin PROPERTIES
MACOSX_BUNDLE true
diff --git a/src/resource/MacOSXBundleInfo.plist.in b/src/resource/MacOSXBundleInfo.plist.in
index c181b388..74dc0d59 100644
--- a/src/resource/MacOSXBundleInfo.plist.in
+++ b/src/resource/MacOSXBundleInfo.plist.in
@@ -26,7 +26,9 @@
NSHumanReadableCopyright
${MACOSX_BUNDLE_COPYRIGHT}
- LSApplicationCategoryType
- ${MACOSX_BUNDLE_CATEGORY}
+ LSApplicationCategoryType
+ ${MACOSX_BUNDLE_CATEGORY}
+ LSMinimumSystemVersion
+ ${MACOSX_MINIMUM_SYSTEM_VERSION}
-
\ No newline at end of file
+