To make matters more confusing, the behaviour seems to change depending on the value or --arch.
For "--arch all", it will correctly configure an out of tree build:
cmake "$SOURCE" $CMAKE_PARAMS
Otherwise, it decides not to:
cd "$SOURCE" ... click chroot -a$ARCH -f$FRAMEWORK run cmake $CMAKE_PARAMS
To make matters more confusing, the behaviour seems to change depending on the value or --arch.
For "--arch all", it will correctly configure an out of tree build:
cmake "$SOURCE" $CMAKE_PARAMS
Otherwise, it decides not to:
cd "$SOURCE"
...
click chroot -a$ARCH -f$FRAMEWORK run cmake $CMAKE_PARAMS