Skip to content

Commit a497dd1

Browse files
committed
Fix cSettings to include SQLITE_HAS_CODEC
1 parent f37d8bf commit a497dd1

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Package.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,8 @@ let package = Package(
318318
linkerSettings: [.linkedLibrary("log", .when(platforms: [.android]))]),
319319
.testTarget(
320320
name: "SQLCipherTests",
321-
dependencies: ["SQLCipher"]
321+
dependencies: ["SQLCipher"],
322+
cSettings: [.define("SQLITE_HAS_CODEC")]
322323
),
323324
.target(
324325
name: "SQLiteDB",
@@ -331,7 +332,8 @@ let package = Package(
331332
.testTarget(
332333
name: "SQLiteDBTests",
333334
dependencies: ["SQLiteDB"],
334-
resources: [.process("Resources")]
335+
resources: [.process("Resources")],
336+
cSettings: [.define("SQLITE_HAS_CODEC")]
335337
),
336338
]
337339
)

0 commit comments

Comments
 (0)