We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cc85a9 commit 5d4b6edCopy full SHA for 5d4b6ed
Package.swift
@@ -4,8 +4,18 @@
4
import Foundation
5
import PackageDescription
6
7
+let darwinPlatforms: [Self] = [
8
+ .iOS,
9
+ .macOS,
10
+ .macCatalyst,
11
+ .tvOS,
12
+ .visionOS,
13
+ .watchOS,
14
+]
15
var swiftSettings: [SwiftSetting] = [
16
.define("SQLITE_ENABLE_FTS5"),
17
+ // SQLite snapshots are available on the system SQLite on Darwin platforms.
18
+ .define("SQLITE_ENABLE_SNAPSHOT", .when(platforms: darwinPlatforms, traits: ["GRDBSQLite"])
19
]
20
var cSettings: [CSetting] = []
21
var dependencies: [PackageDescription.Package.Dependency] = []
0 commit comments