mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -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
|
|
@ -1,3 +1,7 @@
|
|||
if not get_option('libraries')
|
||||
error('-Ddocumentation=true requires -Dlibraries=true')
|
||||
endif
|
||||
|
||||
dot = find_program('dot')
|
||||
doxygen = find_program('doxygen')
|
||||
xsltproc = find_program('xsltproc')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue