Skip to content

Commit

Permalink
Bump macOS target to 10.13.0
Browse files Browse the repository at this point in the history
Apparently required for `std::visit`
  • Loading branch information
glebm committed Jan 1, 2025
1 parent 7d6ea5d commit 374c6ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -395,9 +395,9 @@ if(APPLE)
set(MACOSX_BUNDLE_REQUIRED_PLATFORM IPhoneOS)
set_target_properties(${BIN_TARGET} PROPERTIES XCODE_ATTRIBUTE_TARGETED_DEVICE_FAMILY "1,2")
set(CMAKE_OSX_DEPLOYMENT_TARGET "9.0")
elseif(DARWIN_MAJOR_VERSION GREATER_EQUAL 16)
elseif(DARWIN_MAJOR_VERSION GREATER_EQUAL 17)
set(MACOSX_BUNDLE_REQUIRED_PLATFORM Carbon)
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.12.0")
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.13.0")
endif()
if(DARWIN_MAJOR_VERSION VERSION_LESS 9)
# Finder on OSX Tiger can only handle icns files with up to 128x128 icons.
Expand Down

0 comments on commit 374c6ac

Please sign in to comment.