Sorry about that missed a chdir should be
cmake -E chdir netgen patch -p0 -i netgen-4.9.11.patch
from following the documentation:
cmake -E chdir dir cmd [args]...
Eric Noulard wrote:
2009/11/24 Hugh Sorby <h.so...@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?
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake