-
Notifications
You must be signed in to change notification settings - Fork 6.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[openimageio/libsquish] Export libsquish cmake target and fix find dependency libsquish #20240
Conversation
@HWiman-ICONIC Can you please test this PR? Thanks. |
If I have understood the conversation in #20092 correctly, PS C:\Dev\vcpkg> .\vcpkg.exe install openimageio[webp]:x64-windows
|
Having installed and running the minimal sample supplied to issue #20233 I get: CMake Error at C:/Dev/vcpkg/scripts/buildsystems/vcpkg.cmake:786 (_find_package): |
AFAIU OpenImageIO will always use libsquish. If it doesn't find an external package, it will use an internal copy (aka vendored dependency). Package manager dislike vendored copies, for good reasons. |
Ok thanks, I see. Then it makes sense to force dependency of libsquish in vcpkg of course. |
@HWiman-ICONIC Can you please use this branch, rebuild libsquish first and try to build oiio again? |
I can´t get this to work. |
@HWiman-ICONIC Did you clone |
Yes, I did. And now I have done it once again with complete rebuild of all dependencies and get the same result. What results do you get if you create a default CMake project in VS and edit the
|
Depends on AcademySoftwareFoundation/OpenImageIO#3108. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 36fe65216518ac13d8cc06fafc6887599818156e -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/l-/libsquish.json b/versions/l-/libsquish.json
index 5554847..353bf55 100644
--- a/versions/l-/libsquish.json
+++ b/versions/l-/libsquish.json
@@ -1,7 +1,7 @@
{
"versions": [
{
- "git-tree": "191bc228fe3fe6bd8628aaa767abca093b772202",
+ "git-tree": "d5f07a631c6bfd0918337856979c707caa85b7b4",
"version-string": "1.15",
"port-version": 9
},
diff --git a/versions/o-/openimageio.json b/versions/o-/openimageio.json
index a44385a..abeb261 100644
--- a/versions/o-/openimageio.json
+++ b/versions/o-/openimageio.json
@@ -1,7 +1,7 @@
{
"versions": [
{
- "git-tree": "a1a204687895abc9c041d97f8a2dd6e36448f2b2",
+ "git-tree": "7e3fcbce391548117f0ba9b08353ee4fd225506b",
"version": "2.3.7.2",
"port-version": 3
},
@HWiman-ICONIC Ping for test again. |
Confirmed, PR ready to be merged to master I guess. Furthermore, OpenImageIO have now merged AcademySoftwareFoundation/OpenImageIO#3108 to OpenImageIO master. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 36fe65216518ac13d8cc06fafc6887599818156e -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/l-/libsquish.json b/versions/l-/libsquish.json
index 5554847..353bf55 100644
--- a/versions/l-/libsquish.json
+++ b/versions/l-/libsquish.json
@@ -1,7 +1,7 @@
{
"versions": [
{
- "git-tree": "191bc228fe3fe6bd8628aaa767abca093b772202",
+ "git-tree": "d5f07a631c6bfd0918337856979c707caa85b7b4",
"version-string": "1.15",
"port-version": 9
},
Thanks :) |
As @dg0yt said in #20092 (comment):
unofficial-libsquish::squish
and fix the part that looks for it in openimageio.Fixes #20233.
Related: #20092.