forked from enlightenment/enlightenment
meson: add HAVE_DRM2 and HAVE_WL_DRM
for now i just added HAVE_WL_DRM but its just the same as USE_MODULE_WL_DRM, maybe we can replace HAVE_WL_DRM once autotools is gone, so we have a clear pattern.
This commit is contained in:
parent
186674facd
commit
4af2976a54
|
@ -244,6 +244,13 @@ if get_option('mount-eeze') == true
|
|||
endif
|
||||
endif
|
||||
|
||||
if get_option('wayland') == true
|
||||
if get_option('wl-drm')
|
||||
dep_ecore_drm2 = dependency('ecore-drm2', required : true)
|
||||
config_h.set('HAVE_DRM2', '1')
|
||||
endif
|
||||
endif
|
||||
|
||||
dep_rt = cc.find_library('rt', required: false)
|
||||
dep_eina = dependency('eina' , required: true, version: efl_version)
|
||||
dep_eet = dependency('eet' , required: true)
|
||||
|
|
|
@ -7,3 +7,5 @@ no_icon = true
|
|||
if get_option('wayland') != true
|
||||
disable = true
|
||||
endif
|
||||
|
||||
config_h.set('HAVE_WL_DRM', '1')
|
||||
|
|
Loading…
Reference in New Issue