If Protobuf
and gRPC
are not installed in your system, you should build it
manually and set variables where cmake will find required files:
- protobuf-config.cmake
- gRPCConfig.cmake
- abslConfig.cmake
cmake \
-DProtobuf_DIR=/path/to/protobuf-config.cmake \
-DgRPC_DIR=/path/to/gRPCConfig.cmake \
-Dabsl_DIR=/path/to/abslConfig.cmake \
. -B build \
&& cmake --build build
LD_LIBRARY_PATH=/path/to/libbackendproto ./build/backend/backend
build/app