From cd217c889c573b66228e086b041a4659c028d488 Mon Sep 17 00:00:00 2001 From: Steve Markgraf Date: Wed, 25 Feb 2026 23:03:23 +0100 Subject: [PATCH] set C standard in CMake to C99 --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index d7979a9..2b0b516 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,6 +21,7 @@ ######################################################################## cmake_minimum_required(VERSION 3.12.0) project(hsdaoh C) +set(CMAKE_C_STANDARD 99) #select the release build type by default to get optimization flags if(NOT CMAKE_BUILD_TYPE)