[cmake-developers] [PATCH] New module FindXerces

Rolf Eike Beer eike at sf-mail.de
Wed Aug 20 01:26:28 EDT 2014


Am Dienstag, 19. August 2014, 23:29:13 schrieb Roger Leigh:
> On Sun, Aug 17, 2014 at 03:43:46PM +0100, Roger Leigh wrote:
> > On Sun, Aug 17, 2014 at 03:46:14PM +0200, Rolf Eike Beer wrote:
> > > > Sorry for the naïve question, but the find_package docs also mentions
> > > > setting package_VERSION_COUNT but I don't see any examples of this in
> > > > cmake git.  Is setting the MAJOR/MINOR/PATCH versions here correct or
> > > > redundant or plain wrong?  Or all handled internally by
> > > > FIND_PACKAGE_HANDLE_STANDARD_ARGS?  I'm just a little confused between
> > > > the difference between the documentation and the actual examples in
> > > > Modules/Find*.
> > > 
> > > That variable is automatically set by CMake and will tell you how many
> > > components were found in the version passed to find_package.
> > 
> > Ah, OK.  I've tidied up the version handling as you suggested, new patch
> > attached.
> 
> I found a minor mistake in the sphinx docs which is fixed
> in the attached updated patch (underline not long enough).

I will pick up both of your modules during the remainder of the week and push 
it to next. I will however drop the documentation lines about how to invoke 
find_package in both at it is redundant to the find_package documentation. No 
need to send an updated patch for this, I will remove those few lines myself.

Eike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20140820/e86253ee/attachment-0002.sig>


More information about the cmake-developers mailing list