Skip to content

Commit 369c73c

Browse files
Tobias Hafnervogti
authored andcommitted
Code cleanup
1 parent 1a8575f commit 369c73c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

meson.build

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ protoc = protobuf_subproject.get_variable('protoc')
1111
# ========================
1212
# Protobuf Code Generation
1313
# ========================
14+
gen_dir = meson.current_build_dir() / 'libpolypheny_prism_api.a.p'
15+
run_command('mkdir', '-p', gen_dir)
1416

1517
prism_gen = generator(protoc,
1618
@@ -48,7 +50,7 @@ prism_files = files(
4850
prism_src = prism_gen.process(prism_files)
4951

5052
# TODO: find a clean way to specify the include dir for the generated protobuf code
51-
include_dirs = include_directories('../../buildDir/subprojects/polypheny_prism_api/libpolypheny_prism_api.a.p')
53+
include_dirs = include_directories('libpolypheny_prism_api.a.p')
5254

5355
polypheny_prism_api_lib = static_library('polypheny_prism_api',
5456
prism_src,

0 commit comments

Comments
 (0)