It seems that CMake, in general, does not support cross-compilation. It generates projects as if they will build targets on the current platform instead of for another. Correct me if I&#39;m wrong.<br>