From MIT licenced example on https://github.com/IvanSafonov/grpc-cmake-example
