summaryrefslogtreecommitdiff
path: root/Modules/FindProtobuf.cmake
diff options
context:
space:
mode:
authorPhilip Lowman <philip@yhbt.com>2011-10-12 23:44:40 -0400
committerPhilip Lowman <philip@yhbt.com>2011-10-12 23:44:40 -0400
commita481d84ff72f554bc2e98fe4d9d63f960cf0ebfc (patch)
treed3c2dbf848da50b6f5ea03d4b2f5dc935823d16c /Modules/FindProtobuf.cmake
parent83e4a45609ef436d032b3c527bce9b0382cfe329 (diff)
downloadcmake-a481d84ff72f554bc2e98fe4d9d63f960cf0ebfc.tar.gz
FindProtoBuf: Documented limitation of the public macro
Diffstat (limited to 'Modules/FindProtobuf.cmake')
-rw-r--r--Modules/FindProtobuf.cmake6
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)