mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 03:44:06 +00:00
meson.build: meson_options.txt: add build option to disable building tests
These tests take a long time to build and link, especially with lto. Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
This commit is contained in:
committed by
Enrico Weigelt, metux IT consult
parent
96be335fd3
commit
6851e17816
@@ -777,7 +777,8 @@ endif
|
||||
|
||||
subdir('hw')
|
||||
|
||||
if host_machine.system() != 'windows'
|
||||
build_tests = get_option('tests') and host_machine.system() != 'windows'
|
||||
if build_tests
|
||||
subdir('test')
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user