mirror of https://github.com/mpv-player/mpv
build: disable tests by default
Having them autodetect is a bad idea since it would link cmocka in the main
mpv binary (which users don't want).
(cherry picked from commit ca0b33e9b1
)
This commit is contained in:
parent
1c4bdfaf9c
commit
414cdc9da6
1
wscript
1
wscript
|
@ -84,6 +84,7 @@ build_options = [
|
||||||
'name': '--test',
|
'name': '--test',
|
||||||
'desc': 'test suite (using cmocka)',
|
'desc': 'test suite (using cmocka)',
|
||||||
'func': check_pkg_config('cmocka >= 0.4.1'),
|
'func': check_pkg_config('cmocka >= 0.4.1'),
|
||||||
|
'default': 'disable',
|
||||||
}, {
|
}, {
|
||||||
'name': '--clang-database',
|
'name': '--clang-database',
|
||||||
'desc': 'generate a clang compilation database',
|
'desc': 'generate a clang compilation database',
|
||||||
|
|
Loading…
Reference in New Issue