aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2024-09-16 08:37:15 -0700
committer3gg <3gg@shellblade.net>2024-09-16 08:37:15 -0700
commit448343bc6f092e0dd08591d97007034533fb473b (patch)
tree0415b2d80c11b6944896e2faa499ccee6e89286e
parent2f87b72173c5ba419f56076411888d07e931b81d (diff)
Set C standard version.
-rw-r--r--test/CMakeLists.txt6
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
3project(test) 3project(test)
4 4
5set(CMAKE_CXX_STANDARD 20) 5set(CMAKE_C_STANDARD 23)
6set(CMAKE_CXX_STANDARD_REQUIRED On) 6set(CMAKE_C_STANDARD_REQUIRED On)
7set(CMAKE_CXX_EXTENSIONS Off) 7set(CMAKE_C_EXTENSIONS Off)
8 8
9add_library(test INTERFACE 9add_library(test INTERFACE
10 test.h) 10 test.h)