build - meson - fix ecore-x to detect xcursor to fix rgba cursors

This commit is contained in:
Carsten Haitzler 2018-10-18 13:42:10 +01:00
parent e9eff6b30e
commit 5e01bbe7bd
1 changed files with 9 additions and 0 deletions

View File

@ -122,6 +122,15 @@ cc.has_header_symbol('X11/XKBlib.h', 'XkbSetDetectableAutoRepeat',
)
config_h.set('ECORE_XKB', '1')
lib = cc.find_library('Xcursor',
required: true
)
cc.has_header_symbol('X11/Xcursor/Xcursor.h', 'XcursorSupportsARGB',
dependencies : [x11, xcb]
)
config_h.set('ECORE_XCURSOR', '1')
ecore_x_deps += lib
ecore_x_lib = library('ecore_x',
ecore_x_src, pub_eo_file_target,
dependencies: ecore_x_pub_deps + ecore_x_deps,