Toolchain with shipped older cmake conflicts with outer newer one

Upgrading my cmake I have a few old (Yocto for instance) toolchains now blowing up as there is an older cmake within the toolchain that takes precedence. I.e the mininum required version is not met.
Is there a setting to make so that I want everything but cmake from the toolchain sysroots?’
I encountered it once before but then I just took out the sledge hammer and had a script that deleted the cmake binary from the extracted toolchain before using it. But that is not ideal of course.