The former is the pre-Meson 1.1 version of defining build options, while the latter is the newer way. Now that we've started requiring a newer Meson version, we can move to this new form too.