1
0
Fork 0
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:
Andy Green 2013-03-16 12:32:59 +08:00
parent ca0a129065
commit da3f6ffdbf

View file

@ -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})