File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed
Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -44,11 +44,6 @@ let package = Package(
4444 " include/onnxruntime_training.h " ] ,
4545 cxxSettings: [
4646 . define( " SPM_BUILD " ) ,
47- . unsafeFlags( [ " -std=c++17 " ,
48- " -fobjc-arc-exceptions "
49- ] ) ,
50- ] , linkerSettings: [
51- . unsafeFlags( [ " -ObjC " ] ) ,
5247 ] ) ,
5348 . testTarget( name: " OnnxRuntimeBindingsTests " ,
5449 dependencies: [ " OnnxRuntimeBindings " ] ,
@@ -61,19 +56,15 @@ let package = Package(
6156 path: " extensions " ,
6257 cxxSettings: [
6358 . define( " ORT_SWIFT_PACKAGE_MANAGER_BUILD " ) ,
64- . unsafeFlags( [ " -std=c++17 " ,
65- " -fobjc-arc-exceptions "
66- ] ) ,
67- ] , linkerSettings: [
68- . unsafeFlags( [ " -ObjC " ] ) ,
6959 ] ) ,
7060 . testTarget( name: " OnnxRuntimeExtensionsTests " ,
7161 dependencies: [ " OnnxRuntimeExtensions " , " OnnxRuntimeBindings " ] ,
7262 path: " swift/OnnxRuntimeExtensionsTests " ,
7363 resources: [
7464 . copy( " Resources/decode_image.onnx " )
7565 ] ) ,
76- ]
66+ ] ,
67+ cxxLanguageStandard: . cxx17
7768)
7869
7970// Add the ORT iOS Pod archive as a binary target.
You can’t perform that action at this time.
0 commit comments