Load cmake mode settings only if cmake mode exists