autotest: use --enable-sfml for graphics

This commit is contained in:
Andrew Tridgell 2018-07-02 09:35:41 +10:00
parent 0af83f9364
commit b527dce08d
2 changed files with 3 additions and 3 deletions

View File

@ -319,7 +319,7 @@ def do_build_waf(opts, frame_options):
cmd_configure.append("--debug") cmd_configure.append("--debug")
if opts.OSD: if opts.OSD:
cmd_configure.append("--enable-osd") cmd_configure.append("--enable-sfml")
pieces = [shlex.split(x) for x in opts.waf_configure_args] pieces = [shlex.split(x) for x in opts.waf_configure_args]
for piece in pieces: for piece in pieces:

View File

@ -138,9 +138,9 @@ configuration in order to save typing.
default=False, default=False,
help="Disable compilation and test execution") help="Disable compilation and test execution")
g.add_option('--enable-osd', action='store_true', g.add_option('--enable-sfml', action='store_true',
default=False, default=False,
help="Enable OSD display") help="Enable SFML graphics library")
g.add_option('--static', g.add_option('--static',
action='store_true', action='store_true',