From ac801fb439abe3897d2a5156e3d87c8aeb589bd4 Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Mon, 16 Sep 2024 08:53:52 -0700 Subject: Set C standard version. --- random/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'random/CMakeLists.txt') 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) project(random) +set(CMAKE_C_STANDARD 23) +set(CMAKE_C_STANDARD_REQUIRED On) +set(CMAKE_C_EXTENSIONS Off) + add_library(random src/mt19937-64.c src/normal.c) -- cgit v1.2.3