Server-Root/libraries/build_protobuf.sh
WolverinDEV 98cb90be77 update
2018-09-14 20:00:42 +02:00

6 lines
217 B
Bash
Executable File

cd protobuf/build
cmake ../cmake/ -Dprotobuf_BUILD_TESTS=OFF -DCMAKE_CXX_FLAGS="-std=c++11 -fPIC ${CXX_FLAGS}" -DCMAKE_C_FLAGS="${C_FLAGS}" ${CMAKE_OPTIONS}
make ${CMAKE_MAKE_OPTIONS}
sudo make install
sudo ldconfig