Explorar o código

Add info about manual libraries linking to README

Fixes: #150
Alexey Edelev %!s(int64=4) %!d(string=hai) anos
pai
achega
d4fa4a55fb
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  1. 7 0
      README.md

+ 7 - 0
README.md

@@ -207,6 +207,13 @@ GENERATED_HEADERS ${GENERATED_HEADERS})
 ...
 ```
 
+In case if you somehow avoided ```qtprotobuf_generate``` usage, you need manualy link QtProtobuf libraries used by project, e.g.:
+```cmake
+...
+target_link_libraries(${TARGET} QtProtobuf::QtProtobuf QtProtobuf::QtGrpc QtProtobuf::QtProtobufWellKnownTypes)
+...
+```
+
 ### CMake functions reference
 #### qtprotobuf_generate