Burning bootloader error for ATMega328P TQFP - Help Needed

How Arduino know I am using TQFP of ATMega328 as the board still UNO ?