From eae6bd9456a46e0338c5b407d1c3f1cfb1e6d30d Mon Sep 17 00:00:00 2001 From: Alexander Babikov Date: Wed, 13 Apr 2022 05:15:20 +0500 Subject: [PATCH] Set the required C standard to C11 --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6ee62d4ba..294f5b55d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -114,6 +114,7 @@ if(HAIKU) set(RTMIDI OFF) endif() +set(CMAKE_C_STANDARD 11) set(CMAKE_CXX_STANDARD 11) set(CMAKE_FIND_PACKAGE_PREFER_CONFIG ON)