Explorar o código

FindProtoBuf: Documented limitation of the public macro

Philip Lowman %!s(int64=14) %!d(string=hai) anos
pai
achega
a481d84ff7
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  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)