Skip to content

Commit 33d4790

Browse files
authored
Remove CMAKE_OSX_DEPLOYMENT_TARGET from executorchcoreml (#11062)
### Summary We don't need to uniquely configure this here. It can be implied through the default, or in the presets: https://github.com/pytorch/executorch/blob/ed718a8c57fc084efcd29981609a3bc9df6c098d/CMakePresets.json#L32 ### Test plan CI
1 parent 0304793 commit 33d4790

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

backends/apple/coreml/CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ endif()
2525

2626
option(COREML_BUILD_EXECUTOR_RUNNER "Build CoreML executor runner." OFF)
2727

28-
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.15)
29-
3028
# inmemoryfs sources
3129
set(INMEMORYFS_SOURCES
3230
runtime/inmemoryfs/inmemory_filesystem.cpp
@@ -240,7 +238,6 @@ if(EXECUTORCH_BUILD_COREML AND EXECUTORCH_BUILD_PYBIND)
240238

241239
pybind11_add_module(executorchcoreml SHARED runtime/inmemoryfs/inmemory_filesystem_py.cpp)
242240

243-
target_compile_options(executorchcoreml PRIVATE -mmacosx-version-min=${CMAKE_OSX_DEPLOYMENT_TARGET})
244241
if(CMAKE_BUILD_TYPE STREQUAL "Debug" OR CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo")
245242
target_compile_options(executorchcoreml PRIVATE -g)
246243
endif()

0 commit comments

Comments
 (0)