mirror of
https://github.com/transmission/transmission
synced 2024-12-23 08:13:27 +00:00
Set default Mac target version in CMake to avoid extra warnings
This commit is contained in:
parent
407201c207
commit
8c9faf1f71
1 changed files with 4 additions and 0 deletions
|
@ -5,6 +5,10 @@ list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
|
||||||
|
|
||||||
set(CMAKE_MACOSX_RPATH ON)
|
set(CMAKE_MACOSX_RPATH ON)
|
||||||
|
|
||||||
|
if(CMAKE_OSX_DEPLOYMENT_TARGET STREQUAL "")
|
||||||
|
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.10")
|
||||||
|
endif()
|
||||||
|
|
||||||
include(CheckIncludeFile)
|
include(CheckIncludeFile)
|
||||||
include(CheckIncludeFiles)
|
include(CheckIncludeFiles)
|
||||||
include(CheckFunctionExists)
|
include(CheckFunctionExists)
|
||||||
|
|
Loading…
Reference in a new issue