aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-10-18 13:42:10 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-10-18 13:42:10 +0100
commit5e01bbe7bd433773aff23ad2d4c2451ef6d61f15 (patch)
treeede5fd32f65f7d95c3ec3d106906bccd410e8a71
parentevas_events: Fix wrong condtion. (diff)
downloadefl-5e01bbe7bd433773aff23ad2d4c2451ef6d61f15.tar.gz
build - meson - fix ecore-x to detect xcursor to fix rgba cursors
-rw-r--r--src/lib/ecore_x/meson.build9
1 files changed, 9 insertions, 0 deletions
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,