First, I just want to say thanks for making this plugin. It's helping me out immensely and I appreciate your efforts.
I had some problems getting it to work on my Linux build, and finally realized it could be because I'm running 64-bit. I went into the target/dependency/cmake/bin directory and would try to run cmake manually and would always get a "file not found". I executed "file cmake" on the binary version in the previously mentioned directory and got:
cmake: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.0.0, stripped
It's clear that the cmake being downloaded is a 32-bit version. In theory, I suppose it could download a 64-bit version of cmake. I'm not sure it's worth your effort honestly, as the workaround isn't too bad.
The obvious workaround in hindsight was simply installing the 32-bit libraries for my 64-bit machine ("sudo apt-get install ia32-libs"). Once I did that I got past the problem and was successfully building.
I'm mainly posting this in case anyone else runs into this problem and asking you to possibly consider the bitness of the machine when downloading cmake so that nobody else runs into this error. It's easy to work around, but it's possible someone might not realize the issue.
Thanks again,
Kent