Skip to content

FindLibXml2: Restore compatibility with projects setting LIBXML2_LIBRARIES

Brad King requested to merge brad.king/cmake:FindLibXml2-compat into master

In !1043 (merged) the cache variable used to store the find_library result was renamed. This breaks projects that set the old variable name explicitly. Fix compatibility with such projects by using the old variable as a default if it is set and the new one is not.

Merge request reports