Skip to content

FindLibXml2: ensure consistent paths, version and flag information

As pkg-config is used as hint to perform the actual lookup of libraries and include paths we may not find the pkg-config installation. Mainly this makes sure the pkg-config information are used only if the actual installation reported to the user is the one from pkg-config.

Fixes: #20149 (closed)

Merge request reports