diff options
author | 3gg <3gg@shellblade.net> | 2024-09-16 08:53:52 -0700 |
---|---|---|
committer | 3gg <3gg@shellblade.net> | 2024-09-16 08:53:52 -0700 |
commit | ac801fb439abe3897d2a5156e3d87c8aeb589bd4 (patch) | |
tree | c73e30ca9c1343ff4e58c1b88c5ba07977f35cae /list/CMakeLists.txt | |
parent | b540364f3842fe6ea41a908c905e12e4458e4fef (diff) |
Set C standard version.
Diffstat (limited to 'list/CMakeLists.txt')
-rw-r--r-- | list/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/list/CMakeLists.txt b/list/CMakeLists.txt index 5e335cc..7e1df38 100644 --- a/list/CMakeLists.txt +++ b/list/CMakeLists.txt | |||
@@ -2,6 +2,10 @@ cmake_minimum_required(VERSION 3.5) | |||
2 | 2 | ||
3 | project(list) | 3 | project(list) |
4 | 4 | ||
5 | set(CMAKE_C_STANDARD 23) | ||
6 | set(CMAKE_C_STANDARD_REQUIRED On) | ||
7 | set(CMAKE_C_EXTENSIONS Off) | ||
8 | |||
5 | # Library | 9 | # Library |
6 | 10 | ||
7 | add_library(list INTERFACE) | 11 | add_library(list INTERFACE) |