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:
parent
1551b070b2
commit
f3320a4b07
@ -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,
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user