From 50c67bf396233074f27c704b5897753ca2014860 Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Wed, 14 Nov 2018 20:49:43 +0100 Subject: [PATCH] updates --- libraries/build_protobuf.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libraries/build_protobuf.sh b/libraries/build_protobuf.sh index edadb09..e1311bc 100755 --- a/libraries/build_protobuf.sh +++ b/libraries/build_protobuf.sh @@ -1,4 +1,6 @@ -cd protobuf/build +cd protobuf +git checkout 3.5.1.1 +cd 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