ソースを参照

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)