Updated some stuff

This commit is contained in:
WolverinDEV
2020-02-15 14:04:33 +01:00
parent 3352e92869
commit 45bcbbb4ab
6 changed files with 62 additions and 6 deletions
+2 -2
View File
@@ -14,8 +14,8 @@ requires_rebuild ${library_path}
cd protobuf || exit 1
# git checkout 3.5.1.1
[[ ! -d build ]] && { mkdir build || exit 1; }
cd build || exit 1
[[ ! -d _build ]] && { mkdir _build || exit 1; }
cd _build || exit 1
cmake ../cmake/ -Dprotobuf_BUILD_TESTS=OFF -DCMAKE_CXX_FLAGS="-std=c++11 -fPIC ${CXX_FLAGS}" -DCMAKE_C_FLAGS="${C_FLAGS}" -DCMAKE_BUILD_TYPE=RelWithDebInfo ${CMAKE_OPTIONS} || exit 1
make ${CMAKE_MAKE_OPTIONS} || exit 1
sudo make install || exit 1