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})
162
162
# _default_build_host_targets: The default value for the
163
163
# EXECUTORCH_BUILD_HOST_TARGETS option.
164
164
set (_default_build_host_targets ON )
165
- if (CMAKE_TOOLCHAIN_FILE MATCHES ".*ios \. toolchain \. cmake$" )
165
+ if (CMAKE_TOOLCHAIN_FILE MATCHES ".*iOS \. cmake$" )
166
166
# TODO(dbort): Refactor toolchain-specific matching. Ideally this file would
167
167
# not know about specific targets, and work with more abstract concepts like
168
168
# "is cross compiling".
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ target_link_options_shared_lib(xnnpack_backend)
91
91
list (APPEND xnn_executor_runner_libs xnnpack_backend )
92
92
93
93
# 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$" )
95
95
#
96
96
# xnn_executor_runner: Like executor_runner but with XNNPACK, the binary will
97
97
# be at ${CMAKE_BINARY_DIR}/backends/xnnpack
You can’t perform that action at this time.
0 commit comments