Cmake does have something on the wiki about it. I'm trying to decipher it now. It seems xoft that your right about compiling twice.
Looks like you have to do a build on the native platform then the crosscompiled platform and you can set the cmake file up to use the native version of the generator.
Looks like you have to do a build on the native platform then the crosscompiled platform and you can set the cmake file up to use the native version of the generator.