mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-22 09:59:48 +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 == ''
|
||||
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',
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "config.h"
|
||||
#include "xcursor/xcursor.h"
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue