Protobuf¶
- Official
- Hunterized
- Example
- Available since
- Added by Antal Tátrai (pr-340)
hunter_add_package(Protobuf)
find_package(Protobuf CONFIG REQUIRED)
target_link_libraries(... protobuf::libprotobuf)
Mixing toolchains¶
Example of mixing host and target toolchains in one CMake step (e.g.
build protoc
executable for OSX host and use it to build
libprotobuf
for Android target):