doc: add an install target
[libam7xxx.git] / CMakeLists.txt
index be8e4e7..aee9581 100644 (file)
@@ -68,7 +68,8 @@ if (CMAKE_COMPILER_IS_GNUCC)
     -Wunreachable-code
     -Wunsafe-loop-optimizations
     -Wwrite-strings
     -Wunreachable-code
     -Wunsafe-loop-optimizations
     -Wwrite-strings
-    )
+    -fstack-protector
+    --param=ssp-buffer-size=4)
 endif()
 
 set(CMAKE_C_FLAGS_DEBUG "-g -DDEBUG=1 -Werror")
 endif()
 
 set(CMAKE_C_FLAGS_DEBUG "-g -DDEBUG=1 -Werror")
@@ -101,3 +102,4 @@ endif(GIT_FOUND)
 
 # Add library project
 add_subdirectory(src)
 
 # Add library project
 add_subdirectory(src)
+add_subdirectory(doc)