[MAINT] Reformat code in cmake files.

As the title says.