mirror of
https://github.com/kakwa/uts-server
synced 2024-12-04 23:15:54 +01:00
fix Waring on compilation
This commit is contained in:
parent
1b70725d86
commit
fc1a736672
@ -8,7 +8,7 @@ set(VERSION 0.1.1)
|
||||
option(DEBUG "compile with debug symbol" OFF)
|
||||
option(BUNDLE_CIVETWEB "bundle civetweb with uts-server" OFF)
|
||||
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -D_BSD_SOURCE -D_XOPEN_SOURCE=700")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -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