diff options
author | Philip Lowman <philip@yhbt.com> | 2011-10-12 23:44:40 -0400 |
---|---|---|
committer | Philip Lowman <philip@yhbt.com> | 2011-10-12 23:44:40 -0400 |
commit | a481d84ff72f554bc2e98fe4d9d63f960cf0ebfc (patch) | |
tree | d3c2dbf848da50b6f5ea03d4b2f5dc935823d16c /Modules/FindProtobuf.cmake | |
parent | 83e4a45609ef436d032b3c527bce9b0382cfe329 (diff) | |
download | cmake-a481d84ff72f554bc2e98fe4d9d63f960cf0ebfc.tar.gz |
FindProtoBuf: Documented limitation of the public macro
Diffstat (limited to 'Modules/FindProtobuf.cmake')
-rw-r--r-- | Modules/FindProtobuf.cmake | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Modules/FindProtobuf.cmake b/Modules/FindProtobuf.cmake index 38f5a7572a..53443040dd 100644 --- a/Modules/FindProtobuf.cmake +++ b/Modules/FindProtobuf.cmake @@ -39,7 +39,11 @@ # target_link_libraries(bar ${PROTOBUF_LIBRARIES}) # # NOTE: You may need to link against pthreads, depending -# on the platform. +# on the platform. +# +# NOTE: The PROTOBUF_GENERATE_CPP macro & add_executable() or add_library() +# calls only work properly within the same directory. +# # ==================================================================== # # PROTOBUF_GENERATE_CPP (public function) |