mirror of https://github.com/axmolengine/axmol.git
set default minimum deployment target (#20323)
This commit is contained in:
parent
d03411d6eb
commit
56888524b7
|
@ -30,6 +30,13 @@ cmake_minimum_required(VERSION 3.6)
|
|||
|
||||
project(Cocos2d-x)
|
||||
|
||||
# set default minimum deployment target
|
||||
if(XCODE)
|
||||
if(NOT DEFINED CMAKE_XCODE_ATTRIBUTE_IPHONEOS_DEPLOYMENT_TARGET)
|
||||
SET (CMAKE_XCODE_ATTRIBUTE_IPHONEOS_DEPLOYMENT_TARGET 8.0)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# cocos2dx root path
|
||||
set(COCOS2DX_ROOT_PATH ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
set(CMAKE_MODULE_PATH ${COCOS2DX_ROOT_PATH}/cmake/Modules/)
|
||||
|
|
Loading…
Reference in New Issue