Browse Source

FindProtoBuf: Documented limitation of the public macro

Philip Lowman 14 năm trước cách đây
mục cha
commit
a481d84ff7
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  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)