[CMake] Making FindBoost prefer Boost_ROOT

Andreas Pakulat apaku at gmx.de
Wed Mar 26 19:53:59 EDT 2008


On 26.03.08 18:35:27, Matthew Woehlke wrote:
> Andreas Pakulat wrote:
>> On 26.03.08 17:25:58, Matthew Woehlke wrote:
>>> In addition, I'm used to environment variables being all-caps. Is   
>>> FindBoost intentionally deviating here, or was this a 
>>> search-and-replace  oops? If not, how would people feel about 
>>> applying this?
>>
>> Thats intentional as per the cmake module documentation. That suggest to
>> use the same capitalization as for the part between "Find" and ".cmake".
>
> ...for CMake variables, this is true, and I already knew that. I'm not  
> sure how much sense applying it to *environment* variables makes,  
> however, as I believe those are traditionally all-caps.

Wow, huge cross-posting (just noticed it now). 

Hmm, actually you're right. I guess either I was confused when I wrote
the module or I just wanted everything to look the same :)

Will change that tomorrow when I work on the FindBoost.cmake for CMake
2.6

Andreas

-- 
Fine day for friends.
So-so day for you.


More information about the CMake mailing list