add c99 flag in CMakeLists.txt
This commit is contained in:
parent
e30529d629
commit
dc7a7be22b
|
@ -4,6 +4,7 @@ project(picrin)
|
||||||
|
|
||||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY bin)
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY bin)
|
||||||
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY lib)
|
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY lib)
|
||||||
|
set(CMAKE_C_FLAGS "-std=c99")
|
||||||
|
|
||||||
# external libraries
|
# external libraries
|
||||||
add_library(xfile SHARED extlib/xfile/xfile.c)
|
add_library(xfile SHARED extlib/xfile/xfile.c)
|
||||||
|
|
Loading…
Reference in New Issue