mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-11-05 16:04:31 +00:00
meson.build: Use set instead of set10
Since we only care about whether those macros are defined, we can use set to save a few lines.
This commit is contained in:
parent
e97155f1d1
commit
942429b133
1 changed files with 3 additions and 9 deletions
12
meson.build
12
meson.build
|
@ -177,15 +177,9 @@ conf.set_quoted('VERSION', '@0@-@VCS_TAG@'.format(meson.project_version()))
|
|||
conf.set('ENABLE_SECCOMP', seccomp.found())
|
||||
conf.set('HAVE_BWRAP', seccomp.found())
|
||||
|
||||
if get_option('packagekit')
|
||||
conf.set10('ENABLE_PACKAGEKIT', true)
|
||||
endif
|
||||
if get_option('profiling')
|
||||
conf.set10('ENABLE_PROFILING', true)
|
||||
endif
|
||||
if get_option('selinux')
|
||||
conf.set10('HAVE_SELINUX', true)
|
||||
endif
|
||||
conf.set('ENABLE_PACKAGEKIT', get_option('packagekit'))
|
||||
conf.set('ENABLE_PROFILING', get_option('profiling'))
|
||||
conf.set('HAVE_SELINUX', get_option('selinux'))
|
||||
|
||||
#############################################################
|
||||
# config.h dependency, add to target dependencies if needed #
|
||||
|
|
Loading…
Reference in a new issue