X-Git-Url: https://git.ao2.it/libam7xxx.git/blobdiff_plain/a083bf6cc5c360d21f357c410142b3e9f12da79c..ca632f3053d6cb779b385b51f6615a59953a6107:/CMakeLists.txt?ds=sidebyside diff --git a/CMakeLists.txt b/CMakeLists.txt index be8e4e7..aee9581 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -68,7 +68,8 @@ if (CMAKE_COMPILER_IS_GNUCC) -Wunreachable-code -Wunsafe-loop-optimizations -Wwrite-strings - ) + -fstack-protector + --param=ssp-buffer-size=4) endif() set(CMAKE_C_FLAGS_DEBUG "-g -DDEBUG=1 -Werror") @@ -101,3 +102,4 @@ endif(GIT_FOUND) # Add library project add_subdirectory(src) +add_subdirectory(doc)