|
|
@ -24,6 +24,8 @@ add_project_link_arguments(
|
|
|
|
language: 'c',
|
|
|
|
language: 'c',
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
conf_data = configuration_data()
|
|
|
|
|
|
|
|
|
|
|
|
wlr_inc = include_directories('include')
|
|
|
|
wlr_inc = include_directories('include')
|
|
|
|
|
|
|
|
|
|
|
|
cc = meson.get_compiler('c')
|
|
|
|
cc = meson.get_compiler('c')
|
|
|
@ -63,26 +65,24 @@ elogind = dependency('libelogind', required: false)
|
|
|
|
math = cc.find_library('m', required: false)
|
|
|
|
math = cc.find_library('m', required: false)
|
|
|
|
|
|
|
|
|
|
|
|
if xcb_icccm.found()
|
|
|
|
if xcb_icccm.found()
|
|
|
|
add_project_arguments('-DHAS_XCB_ICCCM', language: 'c')
|
|
|
|
conf_data.set('WLR_HAS_XCB_ICCCM', true)
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
if libcap.found() and get_option('enable_libcap')
|
|
|
|
if libcap.found() and get_option('enable_libcap')
|
|
|
|
add_project_arguments('-DHAS_LIBCAP', language: 'c')
|
|
|
|
conf_data.set('WLR_HAS_LIBCAP', true)
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
if systemd.found() and get_option('enable_systemd')
|
|
|
|
if systemd.found() and get_option('enable_systemd')
|
|
|
|
add_project_arguments('-DHAS_SYSTEMD', language: 'c')
|
|
|
|
conf_data.set('WLR_HAS_SYSTEMD', true)
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
if elogind.found() and get_option('enable_elogind')
|
|
|
|
if elogind.found() and get_option('enable_elogind')
|
|
|
|
add_project_arguments('-DHAS_ELOGIND', language: 'c')
|
|
|
|
conf_data.set('WLR_HAS_ELOGIND', true)
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
exclude_files = []
|
|
|
|
exclude_files = []
|
|
|
|
wlr_parts = []
|
|
|
|
wlr_parts = []
|
|
|
|
conf_data = configuration_data()
|
|
|
|
|
|
|
|
if get_option('enable_xwayland')
|
|
|
|
if get_option('enable_xwayland')
|
|
|
|
add_project_arguments('-DHAS_XWAYLAND', language: 'c')
|
|
|
|
|
|
|
|
subdir('xwayland')
|
|
|
|
subdir('xwayland')
|
|
|
|
wlr_parts += [lib_wlr_xwayland]
|
|
|
|
wlr_parts += [lib_wlr_xwayland]
|
|
|
|
conf_data.set('WLR_HAS_XWAYLAND', true)
|
|
|
|
conf_data.set('WLR_HAS_XWAYLAND', true)
|
|
|
|