[CMake] Can't get include() to work!

Bill Hoffman bill.hoffman at kitware.com
Wed Dec 3 15:53:13 EST 2008


Robert Dailey wrote:
> On Wed, Dec 3, 2008 at 2:33 PM, Bill Hoffman <bill.hoffman at kitware.com 
> <mailto:bill.hoffman at kitware.com>> wrote:
> 
>     Seems to be the only thing in the file.  Maybe it would help if you
>     posted utility.cmake...
> 
> 
> It's attached.
> 
> 

Found it...

The file has mac format line endings.  If I change it to unix or windows 
line feeds it works fine.

The mac file format must fool the parser into only reading one line of 
the file and thinking that it is all done.  That first message statement 
was the only thing that was being run.  (which is why trace did not show 
anything...)

-Bill



More information about the CMake mailing list