mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
parent
e5e6dab7fd
commit
175f89f4ff
6 changed files with 22 additions and 3 deletions
|
|
@ -46,6 +46,7 @@ xcb = dependency('xcb')
|
|||
xcb_composite = dependency('xcb-composite')
|
||||
libcap = dependency('libcap', required: false)
|
||||
systemd = dependency('libsystemd', required: false)
|
||||
elogind = dependency('libelogind', required: false)
|
||||
math = cc.find_library('m', required: false)
|
||||
|
||||
if libcap.found() and get_option('enable_libcap')
|
||||
|
|
@ -56,6 +57,10 @@ if systemd.found() and get_option('enable_systemd')
|
|||
add_project_arguments('-DHAS_SYSTEMD', language: 'c')
|
||||
endif
|
||||
|
||||
if elogind.found() and get_option('enable_elogind')
|
||||
add_project_arguments('-DHAS_ELOGIND', language: 'c')
|
||||
endif
|
||||
|
||||
subdir('protocol')
|
||||
subdir('backend')
|
||||
subdir('render')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue