Skip to content

Commit

Permalink
link vulkan and bz2
Browse files Browse the repository at this point in the history
  • Loading branch information
furby-tm committed Nov 14, 2023
1 parent abcb22b commit b63017b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -814,6 +814,9 @@ let package = Package(
cSettings: [
.define("HAVE_ZLIB", to: "1"),
.define("ZLIB_COMPAT", to: "1"),
],
linkerSettings: [
.linkedLibrary("bz2", .when(platforms: Arch.OS.apple.platform)),
]
),

Expand Down Expand Up @@ -936,6 +939,9 @@ let package = Package(
.define("_GLFW_X11", to: "1", .when(platforms: Arch.OS.linux.platform)),
.define("_GLFW_WIN32", to: "1", .when(platforms: Arch.OS.windows.platform)),
.define("GL_SILENCE_DEPRECATION", to: "1"),
],
linkerSettings: [
.linkedLibrary("vulkan", .when(platforms: Arch.OS.apple.platform)),
]
),

Expand Down

0 comments on commit b63017b

Please sign in to comment.