-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
[opusfile] Disable opusurl on Windows, update to 9d71834 #29603
[opusfile] Disable opusurl on Windows, update to 9d71834 #29603
Conversation
This was recommended to fix dependency issues in sdl2-mixer. See microsoft#29487 (comment) This commit brings first-party CMake support and minor fixes with no API change.
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 looks really good to me. 👍 for adding these OPTIONS_DEBUG
.
ports/opusfile/usage
Outdated
# If opusurl is built | ||
target_link_libraries(main PRIVATE OpusFile::opusurl) |
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.
Is this needed if (feature) opusurl is built, or in order to use opusurl API?
In the first case, I would expect OpusFile::opusurl
to come automatically with OpusFile::opusfile
. In the second case, I would suggest to modify the comment.
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.
Thank you for the feedback. I updated the comment to hopefully disambiguate the usage. Linking OpusFile::opusurl
is only needed to use its API.
./vcpkg x-add-version --all
and committing the result.Fixes #29582
Create a new release including this range of commits: xiph/opusfile@v0.12...9d71834. This does not alter the API of v0.12, but bring first party CMake support. Most notably, this version installs an official CMake config file which tracks its usage dependencies libogg and opus (see #29487 (comment) cc: @dg0yt).