• Martin Joly's avatar
    FindProtobuf: Fix protobuf_generate_*() to handle subdirs · 2b9dad69
    Martin Joly authored
    The change in commit v3.7.0-rc1~513^2 (FindProtobuf: fix
    protobuf_generate_*() to handle proto files in subdirs, 2016-06-09)
    incorrectly adds subdirectories to the path of the generated files when
    `*.proto` files are passed to `protobuf_generate_*` with subdirectories.
    This behavior is not correct when `PROTOBUF_GENERATE_CPP_APPEND_PATH` is
    True (default behavior) as `protoc` will generate output file in the
    current build directory.
    2b9dad69
FindProtobuf.cmake 13.5 KB