Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 937031

Summary: media-libs/libwebp: Include cmake files?
Product: Gentoo Linux Reporter: colin
Component: Current packagesAssignee: Chromium Project <chromium>
Status: UNCONFIRMED ---    
Severity: normal CC: eschwartz
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description colin 2024-08-01 03:16:32 UTC
WebPConfig.cmake is not provided by this package, which seems to cause dependent projects to fail to find libwebp unless they include their own logic
Comment 1 Eli Schwartz gentoo-dev 2024-11-15 19:48:32 UTC
Probably those projects should include their own logic anyways, then (it is as simple as using both pkg_check_modules and find_package and using the first one that succeeds), as it's hardly guaranteed that any given distributor will happen to use cmake.

In fact, probably as a general rule of thumb projects depending on libwebp should use pkg_check_modules on linux and find_package on Windows.