From 79e7f3e28f5dfe441e38b9278078e62b8de9c42d Mon Sep 17 00:00:00 2001 From: Holy Wu Date: Sat, 12 Jan 2019 10:21:16 +0800 Subject: [PATCH] Meson: Fix compilation error under non-Windows --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 3c326f7..2c0cdcb 100644 --- a/meson.build +++ b/meson.build @@ -4,7 +4,7 @@ project('NNEDI3CL', 'cpp', version : '7' ) -add_project_arguments('-ffast-math', '-DNNEDI3_DATADIR=' + join_paths(get_option('prefix'), get_option('datadir'), meson.project_name()), language : 'cpp') +add_project_arguments('-ffast-math', '-DNNEDI3_DATADIR="@0@"'.format(join_paths(get_option('prefix'), get_option('datadir'), meson.project_name())), language : 'cpp') sources = [ 'NNEDI3CL/NNEDI3CL.cpp'