Skip to content

Commit 18360fe

Browse files
committed
universally use C++17 on unix
1 parent 50d6575 commit 18360fe

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

recipe/build.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,7 @@ mkdir build_cmake
66
pushd build_cmake
77

88
export OPENSSL_ROOT_DIR=$PREFIX
9-
if [[ "${target_platform}" == osx* ]] && [[ "${abseil_cpp}" == "20210324.2" ]]; then
10-
export CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_CXX_STANDARD=14"
11-
else
12-
export CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_CXX_STANDARD=17"
13-
fi
9+
export CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_CXX_STANDARD=17"
1410

1511
# Overwrite location of protoc plugin to support cross-compilation
1612
sed -ie "s;protoc-gen-grpc.*$;protoc-gen-grpc=${BUILD_PREFIX}/bin/grpc_cpp_plugin;g" ../cmake/CompileProtos.cmake

0 commit comments

Comments
 (0)