Skip to content

Commit

Permalink
Fixes #146 (#211)
Browse files Browse the repository at this point in the history
* Fixes #146
  • Loading branch information
leetal authored Jul 19, 2024
1 parent f75a02d commit 99f99df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ios.toolchain.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@
cmake_minimum_required(VERSION 3.8.0)

# CMake invokes the toolchain file twice during the first build, but only once during subsequent rebuilds.
if(DEFINED ENV{_IOS_TOOLCHAIN_HAS_RUN})
# NOTE: To improve single-library build-times, provide the flag "OS_SINGLE_BUILD" as a build argument.
if(DEFINED OS_SINGLE_BUILD AND DEFINED ENV{_IOS_TOOLCHAIN_HAS_RUN})
return()
endif()
set(ENV{_IOS_TOOLCHAIN_HAS_RUN} true)
Expand Down

0 comments on commit 99f99df

Please sign in to comment.