From 6474a358623ec831c21904e4249739aef7d88d79 Mon Sep 17 00:00:00 2001 From: Martin Lundfall Date: Tue, 24 Mar 2020 17:19:00 +0100 Subject: [PATCH] CMakeLists: ensure OSX deployment target supports std::visit --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4a674c99e..dba182345 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)