Fix tdesktop 4.3.4 cld3 bundle build with system protobuf
```
.../Telegram/ThirdParty/cld3/build/gen/cld_3/protos/sentence.pb.h:10:10: fatal error: 'google/protobuf/port_def.inc' file not found
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
```
This commit is contained in:
parent
f4c7f67d60
commit
085086856c
1 changed files with 5 additions and 1 deletions
6
external/cld3/CMakeLists.txt
vendored
6
external/cld3/CMakeLists.txt
vendored
|
|
@ -102,8 +102,12 @@ if (NOT DESKTOP_APP_USE_PACKAGED)
|
|||
)
|
||||
endif()
|
||||
|
||||
target_link_libraries(external_cld3_bundled
|
||||
PRIVATE
|
||||
${protobuf_lib}
|
||||
)
|
||||
|
||||
target_link_libraries(external_cld3
|
||||
INTERFACE
|
||||
external_cld3_bundled
|
||||
${protobuf_lib}
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue