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 10, 2025
1 parent 7d4332c commit e5b6120
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 @@ -393,9 +393,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 e5b6120

Please sign in to comment.