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 authored and Diogo Franco (Kovensky) committed 2015-03-11 12:49:40 +09:00
1 parent 1c4bdfaf9c
commit 414cdc9da6
1 file changed
+1
+1
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',