Headers from homebrew's protobuf were still being found.
Force find_library to find the related cmake CONFIG which should expose the
correct targets instead of just the library
example: https://buildkite.com/comm/tunnelbroker-unittests/builds/3
Differential D5139
[Tunnelbroker] Force finding protobuf config • jon on Sep 14 2022, 11:46 AM. Authored by Tags None Referenced Files
Details
Headers from homebrew's protobuf were still being found. example: https://buildkite.com/comm/tunnelbroker-unittests/builds/3 Tunnelbroker CI passes
Diff Detail
Event TimelineComment Actions https://buildkite.com/comm/tunnelbroker-unittests/builds/5#01833d54-b683-4e52-8df1-ceaed0d53d3e is still failing. For some reason /opt/homebrew/include/google/protobuf/message.h is still getting picked up, which sets the PROTOBUF_VERSION, and so when our generated files are consumed, it will cause this to fail: #if 3015008 < PROTOBUF_MIN_PROTOC_VERSION #error This file was generated by an older version of protoc which is #error incompatible with your Protocol Buffer headers. Please #error regenerate this file with a newer version of protoc. #endif |