summaryrefslogtreecommitdiff
path: root/ci/macos_xcode_cmake.sh
diff options
context:
space:
mode:
authorGravatar Derek Mauro <dmauro@google.com>2022-07-05 09:37:54 -0700
committerGravatar Copybara-Service <copybara-worker@google.com>2022-07-05 09:39:15 -0700
commit4bbdb026899fea9f882a95cbd7d6a4adaf49b2dd (patch)
tree3594e5df55a078741618ddc837a6cde6f115cfff /ci/macos_xcode_cmake.sh
parentf4988f5bd4176345aad2a525e24d5fd11b3c97ea (diff)
Disable C++11 testing, enable C++14 and C++20 in some configurations
where it wasn't enabled PiperOrigin-RevId: 459092217 Change-Id: I4500bba8a09f4b320610a8170a26e93fdf7e0cab
Diffstat (limited to 'ci/macos_xcode_cmake.sh')
-rwxr-xr-xci/macos_xcode_cmake.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/macos_xcode_cmake.sh b/ci/macos_xcode_cmake.sh
index 71ea2534..97988631 100755
--- a/ci/macos_xcode_cmake.sh
+++ b/ci/macos_xcode_cmake.sh
@@ -47,7 +47,7 @@ for compilation_mode in ${ABSL_CMAKE_BUILD_TYPES}; do
-DBUILD_SHARED_LIBS=${build_shared} \
-DABSL_BUILD_TESTING=ON \
-DCMAKE_BUILD_TYPE=${compilation_mode} \
- -DCMAKE_CXX_STANDARD=11 \
+ -DCMAKE_CXX_STANDARD=14 \
-DCMAKE_MODULE_LINKER_FLAGS="-Wl,--no-undefined" \
-DABSL_GOOGLETEST_DOWNLOAD_URL="${ABSL_GOOGLETEST_DOWNLOAD_URL}"
time cmake --build .