2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-22 09:57:15 +01:00

extras: cfg_altoptions: use option group

This commit is contained in:
Jérôme Carretero 2014-11-28 13:21:46 -05:00
parent 1551b070b2
commit f3320a4b07

View File

@ -42,7 +42,8 @@ def name_to_dest(x):
def options(opt):
def x(opt, param):
dest = name_to_dest(param)
opt.add_option('--%s-root' % dest,
gr = opt.get_option_group("configure options")
gr.add_option('--%s-root' % dest,
help="path containing include and lib subfolders for %s" \
% param,
)