mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-04-14 08:22:20 -04:00
build: sanity check options
Fail when tests/documentation is enabled without libraries. Fail when neither scanner nor libraries is enabled, because we don't build anything in that case. Signed-off-by: Simon Ser <contact@emersion.fr>
This commit is contained in:
parent
2dcc35af81
commit
9402afc353
4 changed files with 18 additions and 6 deletions
12
meson.build
12
meson.build
|
|
@ -118,12 +118,12 @@ subdir('src')
|
|||
if get_option('libraries')
|
||||
subdir('cursor')
|
||||
subdir('egl')
|
||||
if get_option('tests')
|
||||
subdir('tests')
|
||||
endif
|
||||
if get_option('documentation')
|
||||
subdir('doc')
|
||||
endif
|
||||
endif
|
||||
if get_option('tests')
|
||||
subdir('tests')
|
||||
endif
|
||||
if get_option('documentation')
|
||||
subdir('doc')
|
||||
endif
|
||||
|
||||
if get_option('scanner')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue