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

Robert Dailey rcdailey at gmail.com
Thu Dec 4 10:01:42 EST 2008


On Thu, Dec 4, 2008 at 6:53 AM, Bill Hoffman <bill.hoffman at kitware.com>wrote:

> Robert Dailey wrote:
>
>
>> The problem isn't about MAC line endings not working. I could care less
>> about line ending requirements, I'll go with whatever works. The main
>> problem I have is that CMake didn't TELL me what the problem was. It should
>> have said, "Hey dummy, your line endings are unacceptable. Please change
>> them to LINUX line endings". That would have saved me hours of time!
>>
>
> Sure, it is just that you are the very first person to run  into this in
> the last 8 years.  I am curious how you created the file. I will try to come
> up with a way to detect mac files and issue an error.


I used Notepad++ to edit my file. I didn't change line endings manually, so
MAC must be set as the default for some reason. Notepad++ has some great
syntax highlighting for CMake scripts.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20081204/75c49fe4/attachment.htm>


More information about the CMake mailing list