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:
Stefano Pigozzi 2015-03-10 18:19:32 +01:00 committed by Diogo Franco (Kovensky)
parent 1c4bdfaf9c
commit 414cdc9da6
1 changed files with 1 additions and 0 deletions

View File

@ -84,6 +84,7 @@ build_options = [
'name': '--test',
'desc': 'test suite (using cmocka)',
'func': check_pkg_config('cmocka >= 0.4.1'),
'default': 'disable',
}, {
'name': '--clang-database',
'desc': 'generate a clang compilation database',