Why does urine have a meaty smell if I eat meat.

I always assumed it was nitrates or nitrites, as I’ve only noticed this after eating a whole lot of bologna or similar red processed meats.