mirror of
https://gitlab.gnome.org/GNOME/libmks.git
synced 2024-12-22 05:35:21 +00:00
build: Use enabled to check for existance of feature options
This commit is contained in:
parent
0b9e08a798
commit
9e13893267
@ -153,7 +153,7 @@ pkg.generate(
|
|||||||
install_dir: join_paths(get_option('libdir'), 'pkgconfig')
|
install_dir: join_paths(get_option('libdir'), 'pkgconfig')
|
||||||
)
|
)
|
||||||
|
|
||||||
if get_option('introspection').allowed()
|
if get_option('introspection').enabled()
|
||||||
libmks_gir_extra_args = [
|
libmks_gir_extra_args = [
|
||||||
'--c-include=libmks.h',
|
'--c-include=libmks.h',
|
||||||
'--quiet',
|
'--quiet',
|
||||||
|
@ -164,7 +164,7 @@ if have_tests
|
|||||||
endif
|
endif
|
||||||
summary('Enabled', have_tests, section: 'Tests')
|
summary('Enabled', have_tests, section: 'Tests')
|
||||||
|
|
||||||
if get_option('docs') and get_option('introspection').allowed()
|
if get_option('docs') and get_option('introspection').enabled()
|
||||||
subdir('docs')
|
subdir('docs')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user