Hi,
The current implementation (as of 2.3.8) of the FindProtobuf module
implicitly assumes that the imported .proto files are located only in the
${CMAKE_CURRENT_SOURCE_DIR}. This may not be true for more complex source
directory structure.
The attached patch allows users to override the default by setting an
external variable (PROTOBUF_IMPORT_DIRS) prior to the
PROTOBUF_GENERATE_CPP call.
It also fixes the bug #0010997 which si still pending in the bug tracking
system.Regards Mira
FindProtobuf_proto_import.patch
Description: Binary data
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
