mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 23:58:24 +02:00
build/meson: move enable_docs variable
It will be used in subdirectories. Move it.
This commit is contained in:
parent
b57198a7bc
commit
6968c4141c
1 changed files with 2 additions and 2 deletions
|
|
@ -751,6 +751,8 @@ if enable_nm_cloud_setup
|
|||
assert(libcurl_dep.found(), 'nm-cloud-setup requires libcurl library. Use -Dnm_cloud_setup=false to disable it')
|
||||
endif
|
||||
|
||||
enable_docs = get_option('docs')
|
||||
|
||||
more_asserts = get_option('more_asserts')
|
||||
if more_asserts == 'auto'
|
||||
if nm_minor_version % 2 == 0
|
||||
|
|
@ -920,8 +922,6 @@ if enable_qt
|
|||
subdir('examples/C/qt')
|
||||
endif
|
||||
|
||||
enable_docs = get_option('docs')
|
||||
|
||||
if enable_docs
|
||||
assert(enable_introspection, '-Ddocs=true requires -Dintrospection=true')
|
||||
assert(meson.version().version_compare('>= 0.46.0'), '-Ddocs requires meson >= 0.46')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue