set soh c standard to 23 (#5498)

This commit is contained in:
briaguya
2025-05-17 02:16:59 -04:00
committed by GitHub
parent 9010b8c540
commit 026c7619da
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ set(CMAKE_SYSTEM_VERSION 10.0 CACHE STRING "" FORCE)
project(soh LANGUAGES C CXX)
set(CMAKE_CXX_STANDARD 20 CACHE STRING "The C++ standard to use")
set(CMAKE_C_STANDARD 17 CACHE STRING "The C standard to use")
set(CMAKE_C_STANDARD 23 CACHE STRING "The C standard to use")
if (CMAKE_SYSTEM_NAME STREQUAL "Darwin")
enable_language(OBJCXX)