From b949c4792d5893dabbc0cb3dcc2f58aa173d8efc Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Sun, 17 Dec 2017 22:42:20 +0200 Subject: Preserve_path_from should be a kwarg of process(), not generator(). --- test cases/frameworks/5 protocol buffers/withpath/meson.build | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test cases/frameworks') diff --git a/test cases/frameworks/5 protocol buffers/withpath/meson.build b/test cases/frameworks/5 protocol buffers/withpath/meson.build index f5b453ecd..a269c9710 100644 --- a/test cases/frameworks/5 protocol buffers/withpath/meson.build +++ b/test cases/frameworks/5 protocol buffers/withpath/meson.build @@ -4,11 +4,12 @@ gen = generator(protoc, \ output : ['@BASENAME@.pb.cc', '@BASENAME@.pb.h'], - preserve_path_from : meson.current_source_dir(), arguments : ['--proto_path=@CURRENT_SOURCE_DIR@', '--cpp_out=@BUILD_DIR@', '@INPUT@']) generated = gen.process('com/mesonbuild/simple.proto', - 'com/mesonbuild/subsite/complex.proto') + 'com/mesonbuild/subsite/complex.proto', + preserve_path_from : meson.current_source_dir(), + ) e = executable('pathprog', 'pathprog.cpp', generated, dependencies : dep) test('pathprog', e) -- cgit v1.2.3