CMakeLists: ensure OSX deployment target supports std::visit

This commit is contained in:
Martin Lundfall 2020-03-24 17:19:00 +01:00
parent ff23f165f0
commit 6474a35862

View File

@ -11,6 +11,8 @@ eth_policy()
# project name and version should be set after cmake_policy CMP0048
set(PROJECT_VERSION "0.6.5")
# OSX target needed in order to support std::visit
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.14")
project(solidity VERSION ${PROJECT_VERSION} LANGUAGES C CXX)
include(TestBigEndian)