From 5e01bbe7bd433773aff23ad2d4c2451ef6d61f15 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Thu, 18 Oct 2018 13:42:10 +0100 Subject: [PATCH] build - meson - fix ecore-x to detect xcursor to fix rgba cursors --- src/lib/ecore_x/meson.build | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/lib/ecore_x/meson.build b/src/lib/ecore_x/meson.build index 9c1f00ddfe..0e16bd7385 100644 --- a/src/lib/ecore_x/meson.build +++ b/src/lib/ecore_x/meson.build @@ -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,