mirror of
https://github.com/albfan/miraclecast.git
synced 2025-03-09 23:38:56 +00:00
handle meson optoins properly
This commit is contained in:
parent
1e9180a44a
commit
2a0435d5e4
1 changed files with 8 additions and 1 deletions
|
@ -28,11 +28,18 @@ if get_option('build-enable-debug')
|
|||
add_project_arguments('-DBUILD_ENABLE_DEBUG', language: 'c')
|
||||
endif
|
||||
|
||||
if get_option('rely-udev')
|
||||
add_project_arguments('-DRELY_UDEV', language: 'c')
|
||||
endif
|
||||
|
||||
glib2 = dependency('glib-2.0')
|
||||
udev = dependency('libudev')
|
||||
libsystemd = dependency('libsystemd')
|
||||
|
||||
subdir('src')
|
||||
subdir('res')
|
||||
subdir('test')
|
||||
|
||||
if get_option('build-tests')
|
||||
subdir('test')
|
||||
endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue