[openimageio] remove boost dependency (#42287)

This commit is contained in:
Cheney Wang 2024-11-23 03:19:33 +08:00 committed by GitHub
parent 8349779185
commit fc9a1789b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 11 additions and 19 deletions

View File

@ -1,12 +1,11 @@
diff --git a/src/cmake/Config.cmake.in b/src/cmake/Config.cmake.in diff --git a/src/cmake/Config.cmake.in b/src/cmake/Config.cmake.in
index ceaea62..2a2a359 100644 index 2620994..6e5f0a1 100644
--- a/src/cmake/Config.cmake.in --- a/src/cmake/Config.cmake.in
+++ b/src/cmake/Config.cmake.in +++ b/src/cmake/Config.cmake.in
@@ -6,6 +6,33 @@ @@ -6,6 +6,32 @@
include(CMakeFindDependencyMacro) include(CMakeFindDependencyMacro)
+find_dependency(Boost COMPONENTS @Boost_COMPONENTS@)
+if(@USE_GIF@) +if(@USE_GIF@)
+ find_dependency(GIF) + find_dependency(GIF)
+endif() +endif()

View File

@ -1,23 +1,11 @@
{ {
"name": "openimageio", "name": "openimageio",
"version": "3.0.0.3", "version": "3.0.0.3",
"port-version": 1,
"description": "A library for reading and writing images, and a bunch of related classes, utilities, and application.", "description": "A library for reading and writing images, and a bunch of related classes, utilities, and application.",
"homepage": "https://github.com/OpenImageIO/oiio", "homepage": "https://github.com/OpenImageIO/oiio",
"license": "BSD-3-Clause", "license": "BSD-3-Clause",
"dependencies": [ "dependencies": [
"boost-algorithm",
"boost-asio",
"boost-config",
"boost-filesystem",
"boost-foreach",
"boost-random",
"boost-regex",
"boost-smart-ptr",
"boost-stacktrace",
"boost-static-assert",
"boost-system",
"boost-thread",
"boost-type-traits",
"fmt", "fmt",
"libjpeg-turbo", "libjpeg-turbo",
"libpng", "libpng",

View File

@ -6702,7 +6702,7 @@
}, },
"openimageio": { "openimageio": {
"baseline": "3.0.0.3", "baseline": "3.0.0.3",
"port-version": 0 "port-version": 1
}, },
"openjpeg": { "openjpeg": {
"baseline": "2.5.2", "baseline": "2.5.2",

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "22b11b52b97211a4cb04fce6c5518fd2b33f3529",
"version": "3.0.0.3",
"port-version": 1
},
{ {
"git-tree": "92a3a8f30923e5f433c6c4123a8bd6062a2c0646", "git-tree": "92a3a8f30923e5f433c6c4123a8bd6062a2c0646",
"version": "3.0.0.3", "version": "3.0.0.3",