mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 12:55:58 +01:00
xcursor: use internal_config
Removes a project argument, improves escaping.
This commit is contained in:
parent
4da9b32a15
commit
311381c6b5
2 changed files with 2 additions and 2 deletions
|
@ -2,8 +2,7 @@ icondir = get_option('icon_directory')
|
||||||
if icondir == ''
|
if icondir == ''
|
||||||
icondir = get_option('prefix') / get_option('datadir') / 'icons'
|
icondir = get_option('prefix') / get_option('datadir') / 'icons'
|
||||||
endif
|
endif
|
||||||
|
internal_config.set_quoted('ICONDIR', icondir)
|
||||||
add_project_arguments('-DICONDIR="@0@"'.format(icondir), language : 'c')
|
|
||||||
|
|
||||||
wlr_files += files(
|
wlr_files += files(
|
||||||
'wlr_xcursor.c',
|
'wlr_xcursor.c',
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include "config.h"
|
||||||
#include "xcursor/xcursor.h"
|
#include "xcursor/xcursor.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue