add c99 flag in CMakeLists.txt

This commit is contained in:
Yuichi Nishiwaki 2014-03-02 02:26:08 +09:00
parent e30529d629
commit dc7a7be22b
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@ project(picrin)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY bin)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY lib)
set(CMAKE_C_FLAGS "-std=c99")
# external libraries
add_library(xfile SHARED extlib/xfile/xfile.c)