From dad160209e58c7344e43dfa7e0da1b570bc86491 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Mon, 26 Aug 2019 19:54:24 -0700 Subject: [PATCH] Add -mmacosx-version-min=10.9 --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index d2d0c14ab..e1087af11 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -72,6 +72,7 @@ else(WIN32) add_compile_options( -Wall -Wno-deprecated + -mmacosx-version-min=10.9 $<$:-g> $<$:-O0> $<$:-Ofast> @@ -80,6 +81,9 @@ else(WIN32) $<$:-fPIE> $<$:-g> ) + add_link_options( + -mmacosx-version-min=10.9 + ) elseif ( CMAKE_SYSTEM_NAME MATCHES "Linux" OR