mirror of
https://github.com/kakwa/uts-server
synced 2024-12-04 23:15:54 +01:00
better handling of C Language version (11 FYI)
This commit is contained in:
parent
84e015ec26
commit
9bb617d3fd
@ -32,7 +32,9 @@ IF(LINK_PTHREAD)
|
||||
set(PTHREAD_LIBRARIES 'pthread')
|
||||
ENDIF(LINK_PTHREAD)
|
||||
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700")
|
||||
set (CMAKE_C_STANDARD 11)
|
||||
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700")
|
||||
|
||||
if(DEBUG)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O0 -g")
|
||||
|
Loading…
Reference in New Issue
Block a user