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