build: Require and build with C++ 17

This commit is contained in:
Jack Grigg 2020-07-16 23:39:02 +12:00
parent ed9c9273d0
commit 08b9c99761
1 changed files with 2 additions and 2 deletions

View File

@ -61,8 +61,8 @@ case $host in
lt_cv_deplibs_check_method="pass_all"
;;
esac
dnl Require C++11 compiler (no GNU extensions)
AX_CXX_COMPILE_STDCXX([11], [noext], [mandatory], [nodefault])
dnl Require C++17 compiler (no GNU extensions)
AX_CXX_COMPILE_STDCXX([17], [noext], [mandatory], [nodefault])
dnl Check if -latomic is required for <std::atomic>
CHECK_ATOMIC