[CMake] Getting cmake to apply patches

Eric Noulard eric.noulard at gmail.com
Tue Nov 24 16:39:29 EST 2009


2009/11/24 Hugh Sorby <h.sorby at auckland.ac.nz>:
> So I am trying to get CMake to apply patches to third party source.
> First off can someone confirm (, I'm hoping I haven't missed the obvoius)
> that there isn't an inbuilt command to apply unified diffs.
>
> Secondly can anyone tell me how to stop CMake consuming the "-i" in
> following command:
>
> cmake -E netgen patch -p0 -i netgen-4.9.11.patch

I cannot understand that cmake -E syntax?

Is supposed to apply "netgen-4.9.11.patch" patch file
on the "netgen" source tree?


-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org


More information about the CMake mailing list