Set macOS version minimums when building

Allows running on older versions of macOS.
This commit is contained in:
Peter Ammon
2024-10-06 13:36:33 -07:00
parent efa109b62e
commit 0e474768f4
3 changed files with 18 additions and 7 deletions

View File

@@ -6,6 +6,9 @@ endif (NOT APPLE)
# The source tree containing certain macOS resources.
set(OSX_DIR ${CMAKE_CURRENT_SOURCE_DIR}/osx)
# 10.9 is the minimum supported version.
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.9")
set(RESOURCE_FILES
${OSX_DIR}/launch_fish.scpt
${OSX_DIR}/fish_term_icon.icns