Skip to content

Commit

Permalink
Resolve remaining OIIO linker symbols.
Browse files Browse the repository at this point in the history
  • Loading branch information
furby-tm committed Feb 13, 2024
1 parent 003bf51 commit 32e5dbc
Show file tree
Hide file tree
Showing 22 changed files with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,9 @@ let package = Package(
.define("EMBED_PLUGINS", to: "1"),
.define("OpenImageIO_EXPORTS", to: "1"),
.define("DISABLE_PSD", to: "1"),
.define("DISABLE_BMP", to: "1"),
.define("DISABLE_TERM", to: "1"),
.define("DISABLE_PNM", to: "1"),
// FIXME: We broke the ABI for fmt::detail::get_file
// to stop the swift compiler from crashing at this
// function, we should fix this in the future.
Expand Down Expand Up @@ -578,7 +581,6 @@ let package = Package(
.target(name: "ImGui"),
.target(name: "OpenColorIO"),
.target(name: "OCIOBundle"),
.target(name: "OpenImageIO"),
.target(name: "OpenImageIO_Util"),
Arch.OS.python(),
],
Expand Down Expand Up @@ -982,8 +984,11 @@ func getConfig(for target: PkgTarget) -> TargetInfo
"gif.imageio",
"ffmpeg.imageio",
"dicom.imageio",
"oiiotool",
"bmp.imageio",
"term.imageio",
"psd.imageio",
"pnm.imageio",
"oiiotool",
]
case .ocioBundle:
break
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 32e5dbc

Please sign in to comment.