From ef518b1a6c7d94d0a8af0ed17f91cc930bb0ede6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Deal=28=E4=B8=80=E7=BA=BF=E7=81=B5=29?= Date: Sat, 18 Feb 2023 16:27:03 +0800 Subject: [PATCH] Fix ci --- thirdparty/openal/CMakeLists.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/thirdparty/openal/CMakeLists.txt b/thirdparty/openal/CMakeLists.txt index 8747bc5cd9..e5bf3c6891 100644 --- a/thirdparty/openal/CMakeLists.txt +++ b/thirdparty/openal/CMakeLists.txt @@ -178,10 +178,8 @@ set(LIB_VERSION_NUM ${LIB_MAJOR_VERSION},${LIB_MINOR_VERSION},${LIB_REVISION},0) set(EXPORT_DECL "") -# Require C++14 -if(NOT DEFINED CMAKE_CXX_STANDARD) - set(CMAKE_CXX_STANDARD 14) -endif() +# Require C++17 +set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED TRUE) # Prefer C11, but support C99 and C90 too.