[CMake] patch on Windows

Rob McDonald rob.a.mcdonald at gmail.com
Sun Jan 12 07:46:35 EST 2014


>
> On Sun, Jan 12, 2014 at 1:39 AM, Rob McDonald <rob.a.mcdonald at gmail.com>wrote:
>
>> Where does CMake get its patch implementation?
>>
>
> It doesn't. It would be great if CMake implemented a "cmake -E patch".
>

Agreed.


>
> Problem is patch from GNUWin32 does not support Unix line endings (it will
> crash), therefore I am forced to use Windows line endings in every patch
> (unix2dos is your friend).
>
>
I found that I could work around this with the --binary flag passed to
patch on Windows.

Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20140112/807d779a/attachment.html>


More information about the CMake mailing list