diff options
author | 3gg <3gg@shellblade.net> | 2024-09-16 08:37:15 -0700 |
---|---|---|
committer | 3gg <3gg@shellblade.net> | 2024-09-16 08:37:15 -0700 |
commit | 448343bc6f092e0dd08591d97007034533fb473b (patch) | |
tree | 0415b2d80c11b6944896e2faa499ccee6e89286e | |
parent | 2f87b72173c5ba419f56076411888d07e931b81d (diff) |
Set C standard version.
-rw-r--r-- | test/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index c67f680..a35fde4 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt | |||
@@ -2,9 +2,9 @@ cmake_minimum_required(VERSION 3.5) | |||
2 | 2 | ||
3 | project(test) | 3 | project(test) |
4 | 4 | ||
5 | set(CMAKE_CXX_STANDARD 20) | 5 | set(CMAKE_C_STANDARD 23) |
6 | set(CMAKE_CXX_STANDARD_REQUIRED On) | 6 | set(CMAKE_C_STANDARD_REQUIRED On) |
7 | set(CMAKE_CXX_EXTENSIONS Off) | 7 | set(CMAKE_C_EXTENSIONS Off) |
8 | 8 | ||
9 | add_library(test INTERFACE | 9 | add_library(test INTERFACE |
10 | test.h) | 10 | test.h) |