switched back to C17/CXX17 for compiler compat

This commit is contained in:
jakeg00dwin 2024-03-12 22:42:01 -07:00
parent 151aec769a
commit 273a74cba8
1 changed files with 3 additions and 3 deletions

View File

@ -21,13 +21,13 @@ endif()
# For being able to used LSP
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
# Request C 11 standard features
set(CMAKE_C_STANDARD 18)
# Request C 17 standard features
set(CMAKE_C_STANDARD 17)
set(CMAKE_C_STANDARD_REQUIRED True)
set(CMAKE_C_FLAGS "-Wall -Werror -Wpedantic")
# SETUP THE CXX flags for .cpp
set(CMAKE_CXX_STANDARD 18)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED True)
set(CMAKE_CXX_FLAGS "-Wall -Werror -Wpedantic")