浏览代码

FindProtoBuf: Documented limitation of the public macro

Philip Lowman 14 年之前
父节点
当前提交
a481d84ff7
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5 1
      Modules/FindProtobuf.cmake

+ 5 - 1
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)