Skip to content

Commit

Permalink
Test inverse of has_run
Browse files Browse the repository at this point in the history
  • Loading branch information
leetal committed Jul 18, 2024
1 parent 4d6a4d0 commit 6dc6e42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios.toolchain.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ cmake_minimum_required(VERSION 3.8.0)

# CMake invokes the toolchain file twice during the first build, but only once during subsequent rebuilds.
# NOTE: To improve single-library build-times, provide the flag "OS_SINGLE_BUILD" as a build argument.
if(NOT DEFINED OS_SINGLE_BUILD AND DEFINED ENV{_IOS_TOOLCHAIN_HAS_RUN})
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 6dc6e42

Please # to comment.