mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-21 22:07:49 +00:00
Add -mmacosx-version-min=10.9
This commit is contained in:
parent
8faaaec710
commit
dad160209e
@ -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…
Reference in New Issue
Block a user