Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(conan-io#23013) libudev: Set the pkg-config version to the real vers…
…ion number The pkg-config file contains the version of the Conan package. This is problematic because it is `system` which causes version checks for libudev to fail. This happens in Weston I'm making for instance: ``` Dependency libudev found: NO found system but need: '>= 136' Found CMake: /usr/local/bin/cmake (3.28.20240202) Run-time dependency libudev found: NO (tried cmake) ../src/libweston/meson.build:196:2: ERROR: Dependency lookup for libudev with method 'pkgconfig' failed: Invalid version, need 'libudev' ['>= 136'] found 'system'. ``` I've set the version in the pkg-config file to that of the version on the system. This fixes version checks in consumers using pkg-config.
- Loading branch information