From 57d011e5312d2e82f81aef07d2cfa72f4c02d951 Mon Sep 17 00:00:00 2001 From: casey langen Date: Sat, 3 Dec 2022 16:25:09 -0800 Subject: [PATCH] Use cxx17 with boost builds. --- script/build-vendor-libraries.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/build-vendor-libraries.sh b/script/build-vendor-libraries.sh index b21858839..7d3fea789 100755 --- a/script/build-vendor-libraries.sh +++ b/script/build-vendor-libraries.sh @@ -124,7 +124,7 @@ function build_boost() { ./bootstrap.sh --with-libraries=atomic,chrono,date_time,filesystem,system,thread || exit $? ./b2 headers || exit $? - ./b2 -d ${JOBS} -sNO_LZMA=1 -sNO_ZSTD=1 ${BOOST_TOOLSET} threading=multi link=shared cxxflags="${BOOST_CXX_FLAGS}" --prefix=${OUTDIR} install || exit $? + ./b2 -d ${JOBS} -sNO_LZMA=1 -sNO_ZSTD=1 ${BOOST_TOOLSET} cxxstd=17 threading=multi link=shared cxxflags="${BOOST_CXX_FLAGS}" --prefix=${OUTDIR} install || exit $? cd .. }