Skip to content

FindProtobuf: Fix for finding generated protobuf files

Harald Fernengel requested to merge haraldF/cmake:protoc-path-fix into master

protoc generates files relative to the very first include directory. This fixes compilation when PROTOBUF_GENERATE_CPP_APPEND_PATH is on and *.proto files are are not part of ${CMAKE_CURRENT_SOURCE_DIR} but are residing at some other random location in the filesystem.

Edited by Brad King

Merge request reports