aboutsummaryrefslogtreecommitdiff
path: root/xcursor/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'xcursor/meson.build')
-rw-r--r--xcursor/meson.build3
1 files changed, 1 insertions, 2 deletions
diff --git a/xcursor/meson.build b/xcursor/meson.build
index c9f59293..cf3718f7 100644
--- a/xcursor/meson.build
+++ b/xcursor/meson.build
@@ -2,8 +2,7 @@ icondir = get_option('icon_directory')
if icondir == ''
icondir = get_option('prefix') / get_option('datadir') / 'icons'
endif
-
-add_project_arguments('-DICONDIR="@0@"'.format(icondir), language : 'c')
+internal_config.set_quoted('ICONDIR', icondir)
wlr_files += files(
'wlr_xcursor.c',