Use default mini deployment target to ios 9.0

This commit is contained in:
halx99 2020-07-23 00:03:53 +08:00
parent a735abaf65
commit 2769ae46e2
1 changed files with 5 additions and 5 deletions

View File

@ -31,11 +31,11 @@ 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()
# 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})