From 50c8f8e30cdfae8f1b150002990bfbf106e3e70f Mon Sep 17 00:00:00 2001 From: Russel Waters Date: Sun, 3 Nov 2019 20:20:33 -0500 Subject: [PATCH] Target osx 10.12 deployment (#2381) see https://cmake.org/cmake/help/latest/variable/CMAKE_OSX_DEPLOYMENT_TARGET.html --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index accfab98..f90dea20 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,8 @@ cmake_minimum_required (VERSION 3.4) +# compatibility for osx sierra and on +# needs to be set before project +set (CMAKE_OSX_DEPLOYMENT_TARGET 10.12 CACHE STRING "") + project (nano-node) # Get the latest abbreviated commit hash of the working branch