[CMake] Setting up mingw toolchain for crosscompiling from Linux

Andrea Gualano gualano at imavis.com
Mon May 12 12:00:49 EDT 2008


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

PS: for some reason I replied to sender instead of list.


More information about the CMake mailing list