From d3689167e93a728a4607a509859830de61b04067 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:08:49 +0800 Subject: [PATCH] Fix ci --- thirdparty/openal/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/thirdparty/openal/CMakeLists.txt b/thirdparty/openal/CMakeLists.txt index 379544fbc5..8747bc5cd9 100644 --- a/thirdparty/openal/CMakeLists.txt +++ b/thirdparty/openal/CMakeLists.txt @@ -179,7 +179,9 @@ set(EXPORT_DECL "") # Require C++14 -set(CMAKE_CXX_STANDARD 14) +if(NOT DEFINED CMAKE_CXX_STANDARD) + set(CMAKE_CXX_STANDARD 14) +endif() set(CMAKE_CXX_STANDARD_REQUIRED TRUE) # Prefer C11, but support C99 and C90 too.