Code Review
/
src
/
drm-lease-manager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add gitlab issue/merge request templates
[src/drm-lease-manager.git]
/
meson.build
diff --git
a/meson.build
b/meson.build
index
2f6cd15
..
1694a0a
100644
(file)
--- a/
meson.build
+++ b/
meson.build
@@
-28,18
+28,21
@@
add_project_arguments(
language: 'c'
)
language: 'c'
)
-configure_file(output: 'config.h',
- configuration: config)
+drm_dep = dependency('libdrm', version: '>= 2.4.89')
+thread_dep = dependency('threads')
+toml_dep = dependency('libtoml')
-configuration_inc = include_directories('.')
+systemd_dep = dependency('', required: false)
+if get_option('enable-systemd')
+ systemd_dep = dependency('libsystemd', required: false)
-drm_dep = dependency('libdrm', version: '>= 2.4.89')
+ config.set('HAVE_SYSTEMD_DAEMON', '1')
+endif
enable_tests = get_option('enable-tests')
if enable_tests
check_dep = dependency('check')
enable_tests = get_option('enable-tests')
if enable_tests
check_dep = dependency('check')
- thread_dep = dependency('threads')
# Default to the system provided version of fff.h.
# otherwise fetch it ourselves.
# Default to the system provided version of fff.h.
# otherwise fetch it ourselves.
@@
-55,6
+58,11
@@
if enable_tests
endif
endif
endif
endif
+configure_file(output: 'config.h',
+ configuration: config)
+
+configuration_inc = include_directories('.')
+
subdir('common')
subdir('libdlmclient')
subdir('drm-lease-manager')
subdir('common')
subdir('libdlmclient')
subdir('drm-lease-manager')