-
Notifications
You must be signed in to change notification settings - Fork 205
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
Any particular reason not to install CMake configs in static mode? #658
Comments
The intent of the I didn't realize |
Yes for AOM (microsoft/vcpkg#18083). No for dav1d currently because of the vcpkg issue (microsoft/vcpkg#16986) You can detect the vcpkg mode by checking any of the vcpkg CMake vars. For example, vcpkg sets
Sure, let's do it!
Yes, it can. It's almost there microsoft/vcpkg#18244 . I was able to compile and run a small test application against the static libavif from vcpkg on Linux. I guess it works fine for all use-cases. |
Merged, I guess you can close the issue? |
Hi Dmitry, Just wanted to confirm that you want us to close this issue, right? |
Right 😊
пн, 7 июн. 2021 г., 05:26 Wan-Teh Chang ***@***.***>:
… Hi Dmitry,
Just wanted to confirm that you want us to close this issue, right?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#658 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABGDS3XKZQIKVWR4BRBENDTTRQU4DANCNFSM457D4GCA>
.
|
Thanks. I closed the issue. I am surprised that the website does not let you close an issue you filed. |
Currently, avif installs CMake configs only in
SHARED
mode. But do we really have any particular reason not to install CMake configs in static mode?If I re-enable installing CMake configs in static mode (by simply commenting out
if (BUILD_SHARED_LIBS)
at line 567), they are generated, installed, and used OK by a client application.This prevents, for example,
vcpkg
integration from working correctly.The text was updated successfully, but these errors were encountered: