Pārlūkot izejas kodu

Add info about manual libraries linking to README

Fixes: #150
Alexey Edelev 4 gadi atpakaļ
vecāks
revīzija
d4fa4a55fb
1 mainītis faili ar 7 papildinājumiem un 0 dzēšanām
  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