set C standard in CMake to C99

This commit is contained in:
Steve Markgraf 2026-02-25 23:03:23 +01:00
parent 0b97a7569c
commit cd217c889c

View file

@ -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)