Autogen: Optimize cmake_autogen execution for CROSS_CONFIG usage

The redundant `cmake_autogen` process execution was optimized for
non-`CROSS_CONFIGS` usage. It was executed three times for each
config although only one of them is needed.
1 file changed