From a481d84ff72f554bc2e98fe4d9d63f960cf0ebfc Mon Sep 17 00:00:00 2001 From: Philip Lowman Date: Wed, 12 Oct 2011 23:44:40 -0400 Subject: [PATCH] FindProtoBuf: Documented limitation of the public macro --- Modules/FindProtobuf.cmake | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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)