There is a myth going around lately that squats will not build the booty(glutes). These people are saying to ditch the squat and focus on isolation exercises only like the ever so popular hip thrust. A Youtube favourite lol.
But squats and deadlifts are absolutely a wonderful way to achieve a nice rounder booty. Should you do other exercises as well? Of course. A combination of compound(squats and deadlifts) and isolation(hip thrusts, leg kickbacks) exercises are the optimal way to achieve a nice round behind. Just make sure when you squat that you are not doing half squats and that you are achieving depth which means your hips are lower than your knees when you are at the bottom of the movement or you are achieving a squat that is deeper than 90 degrees.