examples: add a -l option to am7xxx-play
[libam7xxx.git] / doc / CMakeLists.txt
index 81a7c45..ce111b2 100644 (file)
@@ -8,4 +8,8 @@ if(DOXYGEN_FOUND)
     WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
     COMMENT "Generating API documentation with Doxygen" VERBATIM
   )
+
+  install(DIRECTORY ${DOC_OUTPUT_PATH}/html
+    DESTINATION "${CMAKE_INSTALL_PREFIX}/share/doc/${CMAKE_PROJECT_NAME}")
+
 endif(DOXYGEN_FOUND)