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 Nov 24, 2024
1 parent fde7676 commit 312eee4
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 @@ -397,9 +397,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()
set_target_properties(${BIN_TARGET} PROPERTIES MACOSX_BUNDLE_ICON_FILE "AppIcon.icns")
set_target_properties(${BIN_TARGET} PROPERTIES MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/Packaging/apple/Info.plist")
Expand Down

0 comments on commit 312eee4

Please sign in to comment.