meson: declare libseat dependency
This can be used by parent projects when seatd is a subproject: libseat = dependency('libseat', fallback: ['seatd', 'libseat'])
This commit is contained in:
parent
9a7824b7c3
commit
fa2700126f
1 changed files with 6 additions and 0 deletions
|
@ -164,6 +164,12 @@ pkgconfig.generate(lib,
|
|||
description: 'Seat management library',
|
||||
)
|
||||
|
||||
libseat = declare_dependency(
|
||||
link_with: lib,
|
||||
dependencies: private_deps,
|
||||
include_directories: include_directories('include', is_system: true),
|
||||
)
|
||||
|
||||
if get_option('server').enabled()
|
||||
executable(
|
||||
'seatd',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue