There is a discussion in the following link about how CMAKE_SYSTEM_PROCESSOR is restrictive for armclang (it adds --cpu flag which may not be wanted).
https://gitlab.kitware.com/cmake/cmake/-/issues/21173
Apparently the behaviour can now be overridden by a ‘policy’. I’m not familiar with CMake ‘policies’. How would I invoke the relevant policy please?