summaryrefslogtreecommitdiff
path: root/test cases/frameworks
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/frameworks')
-rw-r--r--test cases/frameworks/5 protocol buffers/withpath/meson.build5
1 files changed, 3 insertions, 2 deletions
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)