Skip to content

Commit acacd02

Browse files
authored
set swiftSettings (#8)
1 parent 4fc945a commit acacd02

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Package.swift

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version:4.0
1+
// swift-tools-version:5.3
22
import PackageDescription
33

44
let package = Package(
@@ -13,6 +13,7 @@ let package = Package(
1313
.target(
1414
name: "SwiftMath",
1515
path: ".",
16-
sources: ["Sources"])
16+
sources: ["Sources"],
17+
swiftSettings: [ .define("NOSIMD", .when(platforms: [.linux, .android])),])
1718
]
1819
)

0 commit comments

Comments
 (0)