From ba275e08a75aa4ceb85c4cd0b24ef4f6913b06bf Mon Sep 17 00:00:00 2001 From: Marcello Caramma Date: Tue, 24 Sep 2024 16:21:51 +0000 Subject: [PATCH] Change C_STANDARD to C11 C17 is not available until cmake 3.21, and it does not seem necessary --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 72da15d..91ae4bb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,7 +8,7 @@ option(ENABLE_STATIC_LIB "Build static library" ON) # lots of warnings and all warnings as errors ## add_compile_options(-Wall -Wextra ) -set(CMAKE_C_STANDARD 17) +set(CMAKE_C_STANDARD 11) file(GLOB_RECURSE SRC_LIST_C CONFIGURE_DEPENDS "${PROJECT_SOURCE_DIR}/g722*.c" )