Inducing magnetism onto the surface of a topological crystalline insulator