[vtk-developers] VTK and CMake 2.8rc2 - argument named "TRUE" in a conditional - policy CMP0012
Sean McBride
sean at rogue-research.com
Fri Oct 2 18:06:18 EDT 2009
On 10/2/09 6:02 PM, Brad King said:
>Sean McBride wrote:
>> actually two bytes (C2A0) which apparently caused CMake to silently
>> ignore the entire FOREACH statement!
>
>Wow, nice!
>
>What CMake sees here is
>
> foreach(policy*CMP0012*CMP0013*CMP0014)
>
>where the '*' is the bad character. It thinks that this is a loop
>variable called 'policy*CMP0012*CMP0013*CMP0014', and that there are
>no values over which to loop.
Ahhh, makes sense.
>I'm not sure we can fix this easily. People might be using all
>kinds of characters in their strings and variable names.
Agreed.
I guess I should have just pulled your git repository. :)
Cheers,
--
____________________________________________________________
Sean McBride, B. Eng sean at rogue-research.com
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
More information about the vtk-developers
mailing list