On 02/19/2013 03:54 PM, Matthew Woehlke wrote:
> This sounds like a bug. Why not just fix those find modules not using FPHSA?
> 
> Then you could document in find_package() that ExactCase_FOUND is set if 
> the package is found. (And consider deprecating UpperCase_FOUND.)

Many find modules are distributed outside of CMake.  We cannot control all
of them.  Therefore find_package cannot guarantee anything in module mode.

The _FOUND variable is not the only one that one must read docs before
using.  All other output variables like _LIBRARIES, _LIBRARY_DIRS,
_INCLUDE_DIRS, etc. may have varied names.

-Brad
--

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