mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-22 07:02:28 +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 == ''
|
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 New Issue
Block a user