Skip to content

Commit

Permalink
Force C++14 for protobuf build
Browse files Browse the repository at this point in the history
  • Loading branch information
MHeasell committed Dec 31, 2023
1 parent 72fcfdc commit 3c5900c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/build-protobuf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if [ "$source_protobuf_version" != "$built_protobuf_version" ]; then

rm -rf "$install_dir"

cmake . "-DCMAKE_INSTALL_PREFIX=$install_dir"
cmake . "-DCMAKE_INSTALL_PREFIX=$install_dir" -DCMAKE_CXX_STANDARD=14
cmake --build . --parallel=`nproc`
cmake --install .

Expand Down

0 comments on commit 3c5900c

Please sign in to comment.