Set minimum macOS target to 11 and fix compile errors.

This commit is contained in:
squidbus 2024-07-15 01:30:27 -07:00 committed by TheTurtle
parent 35bbbb1bd9
commit e06039d727
2 changed files with 5 additions and 4 deletions

View file

@ -8,6 +8,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED True)
if(APPLE)
enable_language(OBJC)
set(CMAKE_OSX_DEPLOYMENT_TARGET 11)
endif()
if (NOT CMAKE_BUILD_TYPE)