mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-21 14:42:25 +00:00
xcursor: use internal_config
Removes a project argument, improves escaping.
This commit is contained in:
parent
4da9b32a15
commit
311381c6b5
@ -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 New Issue
Block a user