未验证 提交 30340dcb 编写于 作者: H huzhiqiang 提交者: GitHub

fix ios compile failure (#2688) (#2689)

上级 2542c4e6
...@@ -120,6 +120,7 @@ ...@@ -120,6 +120,7 @@
# #
## Lite settings ## Lite settings
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -flto")
if (ARM_TARGET_OS STREQUAL "ios") if (ARM_TARGET_OS STREQUAL "ios")
set(PLATFORM "OS") set(PLATFORM "OS")
elseif(ARM_TARGET_OS STREQUAL "ios64") elseif(ARM_TARGET_OS STREQUAL "ios64")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册