Re: [CMake] "find_package(MPI)" overriding "set(MPIEXEC)" in CmakeList.txt

2014-01-12 Thread Yngve Inntjore Levinsen
Hi, So, that means aprun is not in your path? In that case you could try the same, but give the path where cmake can find aprun: find_program(MPIEXEC aprun PATHS /path/to/aprun) (see cmake --help-command find_program for more info) I tried the same myself (not with aprun but another binary), an

Re: [CMake] patch on Windows

2014-01-12 Thread Rob McDonald
> > On Sun, Jan 12, 2014 at 1:39 AM, Rob McDonald 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

Re: [CMake] patch on Windows

2014-01-12 Thread Eric Noulard
2014/1/12 Pau Garcia i Quiles : > > > > On Sun, Jan 12, 2014 at 1:39 AM, Rob McDonald > wrote: >> >> Where does CMake get its patch implementation? > > > It doesn't. It would be great if CMake implemented a "cmake -E patch". > >> >> >> >> I'm using a patch step with ExternalProject_Add on Windows

Re: [CMake] patch on Windows

2014-01-12 Thread Pau Garcia i Quiles
On Sun, Jan 12, 2014 at 1:39 AM, Rob McDonald wrote: > Where does CMake get its patch implementation? > It doesn't. It would be great if CMake implemented a "cmake -E patch". > > I'm using a patch step with ExternalProject_Add on Windows (and other > platforms). > > I am downloading the patch b

Re: [CMake] patch on Windows

2014-01-12 Thread Nils Gladitz
On 12.01.2014 01:39, Rob McDonald wrote: Where does CMake get its patch implementation? As far as I know CMake does not have a patch implementation. I'm using a patch step with ExternalProject_Add on Windows (and other platforms). I had it working on one Windows machine - which unfortunat