Enabled c99 support for C files

This commit is contained in:
Yehonal
2016-08-17 10:15:20 +02:00
parent a6d4db8910
commit d28a81198d

View File

@@ -10,8 +10,8 @@ endif()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
message(STATUS "GCC: Enabled c++11 support")
#set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99")
#message(STATUS "GCC: Enabled C99 support")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99")
message(STATUS "GCC: Enabled C99 support")
if(PLATFORM EQUAL 32)
# Required on 32-bit systems to enable SSE2 (standard on x64)