From f1208cd4911d5a6faeee689eefaf4a2f5a6ed79e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mieszko=20=C5=9Alusarczyk?= Date: Mon, 12 Oct 2020 14:57:25 +0200 Subject: [PATCH] set macOS deployment target to 10.12.0 (macOS Sierra) (#879) --- .gitignore | 4 +++- CMakeLists.txt | 1 + README.md | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index e98ecc8be..731c3ccd4 100644 --- a/.gitignore +++ b/.gitignore @@ -439,4 +439,6 @@ exefs/main *.mpq # ddraw wrapper configuration file -ddraw_settings.ini \ No newline at end of file +ddraw_settings.ini +Brewfile.lock.json +.vscode/settings.json diff --git a/CMakeLists.txt b/CMakeLists.txt index 726d4b9de..f9ac52888 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -576,6 +576,7 @@ if(APPLE) set(MACOSX_BUNDLE_BUNDLE_VERSION ${PROJECT_VERSION}) set(MACOSX_BUNDLE_SHORT_VERSION_STRING ${PROJECT_VERSION}) set(MACOSX_BUNDLE_LONG_VERSION_STRING "Version ${PROJECT_VERSION}") + set(CMAKE_OSX_DEPLOYMENT_TARGET "10.12.0") set_target_properties(${BIN_TARGET} PROPERTIES MACOSX_BUNDLE_ICON_FILE "AppIcon") set_target_properties(${BIN_TARGET} PROPERTIES MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/Packaging/macOS/Info.plist") diff --git a/README.md b/README.md index efd665748..9e420d4f1 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ make -j$(nproc) Make sure you have [Homebrew](https://brew.sh/) installed, then run: ``` -brew bundle +brew bundle install cd build cmake .. cmake --build . -j $(sysctl -n hw.physicalcpu)