From 64e6ba55a16af778227c57d36c632ab079e79b95 Mon Sep 17 00:00:00 2001 From: Dennis Felsing Date: Wed, 25 May 2022 17:01:21 +0200 Subject: [PATCH] Increase macOS target version to 10.13 src/game/client/components/tooltips.cpp:58:39: error: 'value' is unavailable: introduced in macOS 10.13 CTooltip &Tooltip = m_ActiveTooltip.value(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/c++/v1/optional:959:27: note: 'value' has been explicitly marked unavailable here constexpr value_type& value() & ^ --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7424c226b..09c966514 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,9 +3,9 @@ if(CMAKE_VERSION VERSION_LESS 3.12) cmake_policy(VERSION ${CMAKE_VERSION}) endif() -set(CMAKE_OSX_DEPLOYMENT_TARGET 10.9 CACHE INTERNAL "") -if(CMAKE_OSX_DEPLOYMENT_TARGET VERSION_LESS 10.9) - message(WARNING "Building for macOS < 10.9 is not supported") +set(CMAKE_OSX_DEPLOYMENT_TARGET 10.13 CACHE INTERNAL "") +if(CMAKE_OSX_DEPLOYMENT_TARGET VERSION_LESS 10.13) + message(WARNING "Building for macOS < 10.13 is not supported") endif() file(STRINGS src/game/version.h VERSION_LINE