cmake not working after update do Big Sur

Thanks @tjayrush! — that was exactly what I was missing. I found the same helpful advice in this comment by Alan Birtles

Thank!! This solution works perfectly for me. (I had the same issue after upgrading to Xcode 15)