From f9ab98e43a8850e472a2370eef32d842e3e0f7b0 Mon Sep 17 00:00:00 2001 From: Joe Ranweiler Date: Sun, 25 Feb 2018 15:17:06 -0800 Subject: [PATCH] Explicitly use C99 standard when building library --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 61ff86c..7aa429a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -37,6 +37,7 @@ set(CMAKE_CXX_EXTENSIONS ON) # Visual Studio already defaults to c++11 if (NOT WIN32) + set(CMAKE_C_STANDARD 99) set(CMAKE_CXX_STANDARD 11) endif ()