summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2011-10-18 19:03:43 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2011-10-18 19:03:43 (GMT)
commitc8185891134d7928f685cf068bd8410eb8519731 (patch)
tree4378723b2dbd1745767c8130469608ff03f2150f /Modules
parent02e99d98512b7c62b8aceee0827fbcf8cb5ea0b5 (diff)
parenta481d84ff72f554bc2e98fe4d9d63f960cf0ebfc (diff)
downloadCMake-c8185891134d7928f685cf068bd8410eb8519731.zip
CMake-c8185891134d7928f685cf068bd8410eb8519731.tar.gz
CMake-c8185891134d7928f685cf068bd8410eb8519731.tar.bz2
Merge topic 'FindProtoBuf_doc_clarify'
a481d84 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)