mapbox / protozero

Minimalist protocol buffer decoder and encoder in C++
BSD 2-Clause "Simplified" License
292 stars 78 forks source link

CMakeLists.txt: protobuf is only needed for tests #110

Open ffontaine opened 2 years ago

ffontaine commented 2 years ago

Don't check for protobuf if tests are disabled. As a side effect, this will avoid a build failure if clang-tidy and protobuf are found but tests are disabled

Fix #109

Signed-off-by: Fabrice Fontaine fontaine.fabrice@gmail.com

ffontaine commented 11 months ago

Do you have some comments on this PR?