Set default Mac target version in CMake to avoid extra warnings
This commit is contained in:
parent
407201c207
commit
8c9faf1f71
|
@ -5,6 +5,10 @@ list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
|
|||
|
||||
set(CMAKE_MACOSX_RPATH ON)
|
||||
|
||||
if(CMAKE_OSX_DEPLOYMENT_TARGET STREQUAL "")
|
||||
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.10")
|
||||
endif()
|
||||
|
||||
include(CheckIncludeFile)
|
||||
include(CheckIncludeFiles)
|
||||
include(CheckFunctionExists)
|
||||
|
|
Loading…
Reference in New Issue