Update iOS toolchain
This commit is contained in:
parent
a201507763
commit
2f094f4a29
@ -8,13 +8,14 @@ SET(CMAKE_SYSTEM_NAME Darwin)
|
||||
SET(CMAKE_C_COMPILER ${CCTOOLS_PREFIX}/bin/arm-apple-darwin11-clang)
|
||||
SET(CMAKE_CXX_COMPILER ${CCTOOLS_PREFIX}/bin/arm-apple-darwin11-clang++)
|
||||
|
||||
SET(CMAKE_C_FLAGS "-mios-version-min=9.0.0 -fembed-bitcode")
|
||||
SET(CMAKE_CXX_FLAGS "-mios-version-min=9.0.0 -fembed-bitcode")
|
||||
SET(CMAKE_EXE_LINKER_FLAGS "-mios-version-min=9.0.0 -fembed-bitcode ${RT}")
|
||||
SET(CMAKE_OSX_SYSROOT ${CCTOOLS_PREFIX}/SDK/iPhoneOS13.2.sdk)
|
||||
set(IOS_CPP_FLAGS "-I${CCTOOLS_PREFIX}/SDK/iPhoneOS13.5.sdk/usr/include/c++")
|
||||
SET(CMAKE_C_FLAGS "-mios-version-min=9.0.0 ${IOS_CPP_FLAGS}")
|
||||
SET(CMAKE_CXX_FLAGS "-mios-version-min=9.0.0 ${IOS_CPP_FLAGS}")
|
||||
SET(CMAKE_EXE_LINKER_FLAGS "-mios-version-min=9.0.0 ${RT}")
|
||||
SET(CMAKE_OSX_SYSROOT ${CCTOOLS_PREFIX}/SDK/iPhoneOS13.5.sdk)
|
||||
|
||||
# here is the target environment located
|
||||
SET(CMAKE_FIND_ROOT_PATH ${PROJECT_SOURCE_DIR}/dependencies-ios ${CCTOOLS_PREFIX}/SDK/iPhoneOS13.2.sdk)
|
||||
SET(CMAKE_FIND_ROOT_PATH ${PROJECT_SOURCE_DIR}/dependencies-ios ${CCTOOLS_PREFIX}/SDK/iPhoneOS13.5.sdk)
|
||||
|
||||
# manaully set the values which failed to auto detect
|
||||
set(FREETYPE_INCLUDE_DIRS ${PROJECT_SOURCE_DIR}/dependencies-ios/include/freetype2)
|
||||
|
Loading…
Reference in New Issue
Block a user