aboutsummaryrefslogtreecommitdiff
path: root/random/CMakeLists.txt
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2024-09-16 08:53:52 -0700
committer3gg <3gg@shellblade.net>2024-09-16 08:53:52 -0700
commitac801fb439abe3897d2a5156e3d87c8aeb589bd4 (patch)
treec73e30ca9c1343ff4e58c1b88c5ba07977f35cae /random/CMakeLists.txt
parentb540364f3842fe6ea41a908c905e12e4458e4fef (diff)
Set C standard version.
Diffstat (limited to 'random/CMakeLists.txt')
-rw-r--r--random/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/random/CMakeLists.txt b/random/CMakeLists.txt
index ad1b684..3c4b2dc 100644
--- a/random/CMakeLists.txt
+++ b/random/CMakeLists.txt
@@ -2,6 +2,10 @@ cmake_minimum_required(VERSION 3.5)
2 2
3project(random) 3project(random)
4 4
5set(CMAKE_C_STANDARD 23)
6set(CMAKE_C_STANDARD_REQUIRED On)
7set(CMAKE_C_EXTENSIONS Off)
8
5add_library(random 9add_library(random
6 src/mt19937-64.c 10 src/mt19937-64.c
7 src/normal.c) 11 src/normal.c)