File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ include(${EXECUTORCH_SRCS_FILE})
162162# _default_build_host_targets: The default value for the
163163# EXECUTORCH_BUILD_HOST_TARGETS option.
164164set (_default_build_host_targets ON )
165- if (CMAKE_TOOLCHAIN_FILE MATCHES ".*ios \. toolchain \. cmake$" )
165+ if (CMAKE_TOOLCHAIN_FILE MATCHES ".*iOS \. cmake$" )
166166 # TODO(dbort): Refactor toolchain-specific matching. Ideally this file would
167167 # not know about specific targets, and work with more abstract concepts like
168168 # "is cross compiling".
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ target_link_options_shared_lib(xnnpack_backend)
9191list (APPEND xnn_executor_runner_libs xnnpack_backend)
9292
9393# ios can only build library but not binary
94- if (NOT CMAKE_TOOLCHAIN_FILE MATCHES ".*ios \. toolchain \. cmake$" )
94+ if (NOT CMAKE_TOOLCHAIN_FILE MATCHES ".*iOS \. cmake$" )
9595 #
9696 # xnn_executor_runner: Like executor_runner but with XNNPACK, the binary will
9797 # be at ${CMAKE_BINARY_DIR}/backends/xnnpack
You can’t perform that action at this time.
0 commit comments