Skip to content

Commit 0d5f591

Browse files
committed
Add ANDROID_SDK_VERSION CXX definition
1 parent ac64a0a commit 0d5f591

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Package.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,10 @@ var package = Package(
398398
),
399399
.target(
400400
name: "AndroidNDK",
401+
cxxSettings: [
402+
.define("ANDROID_NDK_VERSION", to: ndkVersion.description),
403+
.define("ANDROID_SDK_VERSION", to: sdkVersion.description)
404+
],
401405
linkerSettings: [
402406
.linkedLibrary("android", .when(platforms: [.android]))
403407
]

0 commit comments

Comments
 (0)