Skip to content

Commit

Permalink
Explicitly use C99 standard when building library
Browse files Browse the repository at this point in the history
  • Loading branch information
ranweiler committed Feb 25, 2018
1 parent 2752af7 commit f9ab98e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 ()

Expand Down

0 comments on commit f9ab98e

Please sign in to comment.