diff options
author | iambackend <iambackend@yandex-team.ru> | 2022-04-06 08:20:18 +0300 |
---|---|---|
committer | iambackend <iambackend@yandex-team.ru> | 2022-04-06 08:20:18 +0300 |
commit | c14cb35144e1ca6d2f2f9f594f87302637d522a0 (patch) | |
tree | ffda6687776adafd56324339c5257a6e40cd9bc0 /cmake | |
parent | 5f7831fbae434a8c28671ea89ee5c8e686471862 (diff) | |
download | ydb-c14cb35144e1ca6d2f2f9f594f87302637d522a0.tar.gz |
GEOQ-1036: fix schema generation, add tests
ref:439d54265652218f24e0688e14759db054427dcd
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/protobuf.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/protobuf.cmake b/cmake/protobuf.cmake index 017b9d9a46..f8ebd9434f 100644 --- a/cmake/protobuf.cmake +++ b/cmake/protobuf.cmake @@ -1,6 +1,6 @@ function(target_proto_plugin Tgt Name PluginTarget) set_property(TARGET ${Tgt} APPEND PROPERTY - PROTOC_OPTS --${Name}_out=${CMAKE_BINARY_DIR} --plugin=protoc-gen-${Name}=$<TARGET_FILE:${PluginTarget}> + PROTOC_OPTS --${Name}_out=${CMAKE_BINARY_DIR}/$<TARGET_PROPERTY:${Tgt},PROTO_NAMESPACE> --plugin=protoc-gen-${Name}=$<TARGET_FILE:${PluginTarget}> ) set_property(TARGET ${Tgt} APPEND PROPERTY PROTOC_DEPS ${PluginTarget} |