[CMake] Update FindProtobuf.cmake
Kirill A. Korinskiy
catap at catap.ru
Sun Mar 20 14:10:22 EDT 2011
Hi guys!
I have a project with typical structe:
.
|-- CMakeLists.txt
|-- proto
| `-- Subscriber.proto
`-- src
`-- main.cc
and standard FindProtobuf create a custom command for generated pb.cc and
pb.h in CMAKE_CURRENT_BINARY_DIR and don't work if I have a path
"proto/Subscriber.proto" in attaches file have a fix for this issue.
--
wbr, Kirill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110320/5fbd3a36/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FindProtobuf.cmake
Type: text/x-cmake
Size: 4642 bytes
Desc: not available
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110320/5fbd3a36/attachment.bin>
More information about the CMake
mailing list