-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
cmake find_package(libzip) support #2973
Comments
Please see relevant discussion here: nih-at/libzip#27 |
@benstieg would you take a look at possibly fixing the linked issue upstream? |
You can use the CMake standard module FindPkgConfig to detect and use libzip: |
@ras0219-msft Using the cmake files provided by benstieg does work. I know that upstream fixes are preferred but as I am not a cmake-wizard, I am not of a big help here. But would committing the above files as module patch in vcpkg be an acceptable solution? |
I've added |
My mistake; I didn't realize this was changed in 1.7.2. Still, the FFMPEG bit is annoying. |
Now, libzip support to export cmake configuration files. |
Same with pkgconfig. |
It would be nice if
find_package(libzip REQUIRED)
would work aftervcpkg.exe install libzip
.Installing something like the attached files to the installed<your-triplet>\share\libzip when installing libzip should do it.
libzip-config.cmake.zip
The text was updated successfully, but these errors were encountered: