[CMake] Setting up mingw toolchain for crosscompiling from Linux

Nathan Huesken cmake at lonely-star.org
Mon May 12 11:17:36 EDT 2008


That was the problem! Thanks!!!

On Mon, May 12, 2008 at 04:52:54PM +0200, Andrea Gualano wrote:
> Nathan Huesken wrote:
>> I removed CMakeChache.txt, I also removed the CMakeFiles folder.
>> Still does not use the correct  gcc.
>> It is like it would ignore the DCMAKE_TOOLCHAIN_FILE parameter.
>
> Hello Nathan,
>
> What version of CMake are you using?
> -DCMAKE_TOOLCHAIN_FILE only works on CMake 2.6, not 2.4.x
>
> bye,
> Andrea
>


More information about the CMake mailing list