Skip to content

Commit 181cc08

Browse files
committed
guard against apple builds
1 parent 3e38b85 commit 181cc08

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,10 @@ install(FILES tools/cmake/executorch-config.cmake DESTINATION lib/cmake/ExecuTor
665665
#
666666
# executor_runner: Host tool that demonstrates program execution.
667667
#
668-
option(EXECUTORCH_BUILD_EXECUTOR_RUNNER "Build the executor_runner executable" ON)
668+
cmake_dependent_option(
669+
EXECUTORCH_BUILD_EXECUTOR_RUNNER "Build the executor_runner executable" ON
670+
"NOT CMAKE_TOOLCHAIN_IOS" OFF
671+
)
669672

670673
# Add googletest if any test targets should be built
671674
if(BUILD_TESTING)

0 commit comments

Comments
 (0)