mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
cmake add gcc compile options
Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
parent
ca0a129065
commit
da3f6ffdbf
1 changed files with 5 additions and 0 deletions
|
@ -301,6 +301,11 @@ if (UNIX)
|
|||
endif()
|
||||
endif(UNIX)
|
||||
|
||||
|
||||
if (UNIX)
|
||||
set( CMAKE_C_FLAGS "-Wall -Werror -O4 " )
|
||||
endif (UNIX)
|
||||
|
||||
source_group("Headers Private" FILES ${HDR_PRIVATE})
|
||||
source_group("Headers Public" FILES ${HDR_PUBLIC})
|
||||
source_group("Sources" FILES ${SOURCES})
|
||||
|
|
Loading…
Add table
Reference in a new issue