Hi!
So far, there is no way to cross-compile the project except manually reviewing the build scripts and building manually. It could be nice to detect the arch of the current system and, if it does not match the target arch, automatically add the required cross-compile flag to CMake calls (which means adding toolchain files) and to ./configure for libserialport.