def options(opt):
    """
	Load the :py:mod:`waflib.Tools.gnu_dirs` tool and add the ``--vala-target-glib`` command-line option
	"""
    opt.load('gnu_dirs')
    valaopts = opt.add_option_group('Vala Compiler Options')
    valaopts.add_option('--vala-target-glib', default=None, dest=
        'vala_target_glib', metavar='MAJOR.MINOR', help=
        'Target version of glib for Vala GObject code generation')
