Explicitly use C99 standard when building library

This commit is contained in:
Joe Ranweiler
2018-02-25 15:17:06 -08:00
parent 2752af7c22
commit f9ab98e43a
+1
View File
@@ -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 ()