On 3/10/2012 10:45 AM, Alexander Neundorf wrote:
       std::string req_var = this->Name + "_FIND_REQUIRED_" + args[i];
       this->AddFindDefinition(req_var.c_str(), "1");
[snip]
Since this contains the word "required" multiple times this also suggests that
the list of components is the list of required components.

The name REQUIRED is historical because components were once listed only
after the REQUIRED keyword.  Only later was the COMPONENTS keyword added,
but the <pkg>_FIND_REQUIRED_<comp> names were already in use.

Still I think the proposed behavior makes sense and is achievable with a
policy.  I'll look at the two topics you pushed for this thread when I get
a chance.

Thanks,
-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