mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 12:33:44 +02:00
Add -mmacosx-version-min=10.9
This commit is contained in:
parent
8faaaec710
commit
dad160209e
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue