diff --git a/CMakeLists.txt b/CMakeLists.txt index 19df6ca5..0b46d308 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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})