[cmake-developers] [PATCH] New module FindXerces

Roger Leigh rleigh at codelibre.net
Sun Aug 17 10:43:46 EDT 2014


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.


Regards,
Roger

-- 
  .''`.  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: 5213 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20140817/1ca5490f/attachment-0002.patch>


More information about the cmake-developers mailing list