diff options
author | Simon Ser <contact@emersion.fr> | 2022-11-25 18:07:09 +0100 |
---|---|---|
committer | Alexander Orzechowski <alex@ozal.ski> | 2022-12-06 22:39:45 +0000 |
commit | 311381c6b51eb7b4dbd8bcad41ef67aee6b4f5ed (patch) | |
tree | 298188e0d951448eb228d51cfac94ec137d8c9b0 /xcursor/meson.build | |
parent | 4da9b32a154901bd8d74a80162ce3962eefbc29f (diff) |
xcursor: use internal_config
Removes a project argument, improves escaping.
Diffstat (limited to 'xcursor/meson.build')
-rw-r--r-- | xcursor/meson.build | 3 |
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', |