summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorPhilip Lowman <philip@yhbt.com>2011-10-13 03:44:40 (GMT)
committerPhilip Lowman <philip@yhbt.com>2011-10-13 03:44:40 (GMT)
commita481d84ff72f554bc2e98fe4d9d63f960cf0ebfc (patch)
treed3c2dbf848da50b6f5ea03d4b2f5dc935823d16c /Modules
parent83e4a45609ef436d032b3c527bce9b0382cfe329 (diff)
downloadCMake-a481d84ff72f554bc2e98fe4d9d63f960cf0ebfc.zip
CMake-a481d84ff72f554bc2e98fe4d9d63f960cf0ebfc.tar.gz
CMake-a481d84ff72f554bc2e98fe4d9d63f960cf0ebfc.tar.bz2
FindProtoBuf: Documented limitation of the public macro
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindProtobuf.cmake6
1 files changed, 5 insertions, 1 deletions
diff --git a/Modules/FindProtobuf.cmake b/Modules/FindProtobuf.cmake
index 38f5a75..5344304 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)