Re: [xml] libxml2: generate a libxml2-config.cmake file



On Fri, Oct 3, 2014 at 10:57 AM, Daniel Veillard <veillard redhat com> wrote:
On Sun, Aug 31, 2014 at 12:26:41AM +0200, Samuel Martin wrote:
Hi,


libxml2 has some optional dependencies (e.g. zlib).

When building a project using CMake as build-system, it is sometimes
hard to track the libxml2 dependendies and the required ldflags,
especially when statically linking the binaries.

To make this step easier, libxml2 already an xml2-config script and a
libxml-2.0.pc.
Is it possible to also generate a libxml2-config.cmake file?

  That's rather uncommon. What it is supposed to look like ?

I'll post a patch adding it.

Regards,

-- 
Samuel


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]