Add -mmacosx-version-min=10.9

This commit is contained in:
Adam Ierymenko 2019-08-26 19:54:24 -07:00
parent 8faaaec710
commit dad160209e
No known key found for this signature in database
GPG Key ID: C8877CF2D7A5D7F3

View File

@ -72,6 +72,7 @@ else(WIN32)
add_compile_options( add_compile_options(
-Wall -Wall
-Wno-deprecated -Wno-deprecated
-mmacosx-version-min=10.9
$<$<CONFIG:Debug>:-g> $<$<CONFIG:Debug>:-g>
$<$<CONFIG:DEBUG>:-O0> $<$<CONFIG:DEBUG>:-O0>
$<$<CONFIG:RELEASE>:-Ofast> $<$<CONFIG:RELEASE>:-Ofast>
@ -80,6 +81,9 @@ else(WIN32)
$<$<CONFIG:RELWITHDEBINFO>:-fPIE> $<$<CONFIG:RELWITHDEBINFO>:-fPIE>
$<$<CONFIG:RELWITHDEBINFO>:-g> $<$<CONFIG:RELWITHDEBINFO>:-g>
) )
add_link_options(
-mmacosx-version-min=10.9
)
elseif ( elseif (
CMAKE_SYSTEM_NAME MATCHES "Linux" OR CMAKE_SYSTEM_NAME MATCHES "Linux" OR