From 7baa20db2a5bf42070f7238bb097599d307e8c05 Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Mon, 2 May 2011 12:39:56 -0500 Subject: [PATCH] install docs properly --- CMakeLists.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3610436..933a50e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -60,8 +60,6 @@ if(BUILD_EXAMPLE_SDL) add_subdirectory(example-sdl) endif() -# Documentation -add_doxygen(Doxyfile) ### # Set packaging options (for CPack) @@ -73,6 +71,12 @@ else() set(DOC_DIR share/doc/wiiuse) endif() +# Documentation +add_doxygen(Doxyfile + INSTALL_DESTINATION ${DOC_DIR} + INSTALL_COMPONENT docs + NO_PDF) + install(FILES CHANGELOG LICENSE