mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-02 03:06:40 +00:00
set OS X deployment target to 10.9
This commit is contained in:
parent
28dac7ff0e
commit
8e20187d8c
@ -1,7 +1,6 @@
|
|||||||
# CMake build script for ZeroTier One
|
# CMake build script for ZeroTier One
|
||||||
|
|
||||||
cmake_minimum_required (VERSION 3.8)
|
cmake_minimum_required (VERSION 3.8)
|
||||||
project (zerotier-one)
|
|
||||||
|
|
||||||
# Set a default build type if none was specified
|
# Set a default build type if none was specified
|
||||||
set(default_build_type "Release")
|
set(default_build_type "Release")
|
||||||
@ -32,7 +31,7 @@ if (BUILD_CENTRAL_CONTROLLER)
|
|||||||
add_subdirectory("ext/librabbitmq")
|
add_subdirectory("ext/librabbitmq")
|
||||||
endif(BUILD_CENTRAL_CONTROLLER)
|
endif(BUILD_CENTRAL_CONTROLLER)
|
||||||
|
|
||||||
|
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.9" CACHE STRING "Minimum OS X Deployment Version")
|
||||||
|
|
||||||
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||||
add_definitions(-DZT_TRACE)
|
add_definitions(-DZT_TRACE)
|
||||||
@ -61,6 +60,7 @@ else(WIN32)
|
|||||||
endif(APPLE)
|
endif(APPLE)
|
||||||
endif(WIN32)
|
endif(WIN32)
|
||||||
|
|
||||||
|
project(zerotier-one)
|
||||||
|
|
||||||
add_subdirectory(node)
|
add_subdirectory(node)
|
||||||
add_subdirectory(controller)
|
add_subdirectory(controller)
|
||||||
|
Loading…
Reference in New Issue
Block a user