Skip to content

Commit 6f2cbce

Browse files
Jayatubichexiongsheng
authored andcommitted
更新ios.toolchain.cmake以解决新版cmake无法构建iOS版本 (#549)
* 去掉多余的包装接口,加入宏用以开关 * 更新ios.toolchain.cmake以解决新版cmake无法构建iOS版本
1 parent ca70ba6 commit 6f2cbce

File tree

3 files changed

+494
-2
lines changed

3 files changed

+494
-2
lines changed

build/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ if (APPLE)
146146
${XLUA_CORE}
147147
${THIRDPART_SRC}
148148
)
149-
set_xcode_property (xlua IPHONEOS_DEPLOYMENT_TARGET "7.0")
149+
set_xcode_property (xlua IPHONEOS_DEPLOYMENT_TARGET "7.0" "all")
150150
else ()
151151
set(CMAKE_OSX_ARCHITECTURES "$(ARCHS_STANDARD_64_BIT)")
152152
add_library(xlua MODULE

0 commit comments

Comments
 (0)