A magnitude-5.0 earthquake struck Switzerland at a depth of 9.2 kilometers on Thursday, according to the Seismic Portal agency.