[CMAKE] Get rid of the set_cpp macro