[cmake-developers] [New Module] FindOpenCL, FindHg

Rolf Eike Beer eike at sf-mail.de
Sat Feb 15 13:33:37 EST 2014


Am Samstag, 15. Februar 2014, 18:54:47 schrieb Stephen Kelly:
> Rolf Eike Beer wrote:
> > Matthäus G. Chajdas wrote:
> >> Hi Eike,
> >> 
> >> all right, then Hg, as it's FindHg, unless there is a naming policy I'm
> >> not aware of. I was just confused a bit due to FindGit, which uses GIT_
> >> as the prefix.
> >> 
> >> How do I proceed from here? What should I do next?
> > 
> > I think you can reduce FindHg quite a bit. Here are some examples:
> > 
> > -do not set Hg_FOUND to anything, FPHSA will do it for you
> 
> You need to set it explicitly when using FPHSA actually, because it sets
> uppercase(Hg_FOUND) == HG_FOUND instead by default. I consider that a bug,
> but the 'fix decision' was to require explicitly specifying the _FOUND
> variable in order to get a sane value.

Well, then the fix is simply to pass FOUND_VAR Hg_FOUND to it, no?

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/20140215/90af3faf/attachment-0002.sig>


More information about the cmake-developers mailing list