Barcelona (BCN) airport 1hr 40min layover

I have a flight scheduled from New York to Barcelona which gets in at 7:15am in terminal 1. Will I be giving myself enough time if I book my connecting flight at 8:50am which leaves from terminal 2?

Since this is an international flight I'm not sure if 1hr 40 min is enough time.