[Services] Update tunnelbroker CMake to be MacOS compatible
Summary:
Allow for tunnelbroker to be built with MacOS+Clang.
Adds C++17 support by setting OSX requirement above minimum
OSX support.
Also fix pkg-config logic so that the correct libraries are
being linked.
Depends on D4765
Test Plan:
On a mac device:
- Install nix (optional, but brings in all the correct dependencies)
nix develop # or install protobuf, grpc, awssdk, cryptopp, libuv, boost, amqp separately cd services/tunnelbroker && mkdir build && cd build && cmake .. && make -j4 -l4
Reviewers: atul, max, karol
Reviewed By: atul
Subscribers: ashoat, tomek, adrian, abosh
Differential Revision: https://phab.comm.dev/D4766