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.

Thanks,

Steve.


-- 

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to