mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
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() & ^
This commit is contained in:
parent
f25a7d902b
commit
64e6ba55a1
|
@ -3,9 +3,9 @@ if(CMAKE_VERSION VERSION_LESS 3.12)
|
||||||
cmake_policy(VERSION ${CMAKE_VERSION})
|
cmake_policy(VERSION ${CMAKE_VERSION})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.9 CACHE INTERNAL "")
|
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.13 CACHE INTERNAL "")
|
||||||
if(CMAKE_OSX_DEPLOYMENT_TARGET VERSION_LESS 10.9)
|
if(CMAKE_OSX_DEPLOYMENT_TARGET VERSION_LESS 10.13)
|
||||||
message(WARNING "Building for macOS < 10.9 is not supported")
|
message(WARNING "Building for macOS < 10.13 is not supported")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
file(STRINGS src/game/version.h VERSION_LINE
|
file(STRINGS src/game/version.h VERSION_LINE
|
||||||
|
|
Loading…
Reference in a new issue