[cmake-developers] [PATCH] New module FindXerces

Roger Leigh rleigh at codelibre.net
Tue Aug 19 18:29:13 EDT 2014


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).

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux    http://people.debian.org/~rleigh/
 `. `'   schroot and sbuild  http://alioth.debian.org/projects/buildd-tools
   `-    GPG Public Key      F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-FindXerces-New-module-to-find-Apache-Xerces-C.patch
Type: text/x-diff
Size: 5226 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20140819/1cdcf82d/attachment-0002.patch>


More information about the cmake-developers mailing list