summaryrefslogtreecommitdiff
path: root/src/lib/ecore_x
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 /src/lib/ecore_x
parente9eff6b30ea036ba213909fed07e0f88804f4b28 (diff)
build - meson - fix ecore-x to detect xcursor to fix rgba cursors
Diffstat (limited to 'src/lib/ecore_x')
-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',
122) 122)
123config_h.set('ECORE_XKB', '1') 123config_h.set('ECORE_XKB', '1')
124 124
125lib = cc.find_library('Xcursor',
126 required: true
127)
128cc.has_header_symbol('X11/Xcursor/Xcursor.h', 'XcursorSupportsARGB',
129 dependencies : [x11, xcb]
130 )
131config_h.set('ECORE_XCURSOR', '1')
132ecore_x_deps += lib
133
125ecore_x_lib = library('ecore_x', 134ecore_x_lib = library('ecore_x',
126 ecore_x_src, pub_eo_file_target, 135 ecore_x_src, pub_eo_file_target,
127 dependencies: ecore_x_pub_deps + ecore_x_deps, 136 dependencies: ecore_x_pub_deps + ecore_x_deps,