1
0
Fork 0
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:
Derek Dai 2017-04-03 22:16:29 +08:00
parent 1e9180a44a
commit 2a0435d5e4
No known key found for this signature in database
GPG key ID: E109CC97553EF009

View file

@ -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