diff --git a/CMakeLists.txt b/CMakeLists.txt index 9cfae64..7ae58d4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -371,6 +371,7 @@ if(DOXYGEN_FOUND) ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/docs/Doxyfile WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/docs COMMENT "Generating API documentation with Doxygen" VERBATIM) + install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/docs/html/ TYPE DOC) endif() if(BUILD_TESTS) @@ -382,7 +383,6 @@ if(BUILD_TESTS) target_link_libraries(test_${NAME} PRIVATE cubeb gtest_main) add_test(${NAME} test_${NAME} --gtest_death_test_style=threadsafe) add_sanitizers(test_${NAME}) - install(TARGETS test_${NAME}) endmacro(cubeb_add_test) cubeb_add_test(sanity) @@ -397,7 +397,6 @@ if(BUILD_TESTS) target_link_libraries(test_resampler PRIVATE cubeb gtest_main speex) add_test(resampler test_resampler) add_sanitizers(test_resampler) - install(TARGETS test_resampler) cubeb_add_test(duplex) diff --git a/docs/Doxyfile.in b/docs/Doxyfile.in index 2b52bce..8ec863b 100644 --- a/docs/Doxyfile.in +++ b/docs/Doxyfile.in @@ -1,5 +1,5 @@ -PROJECT_NAME = @PACKAGE@ -PROJECT_NUMBER = @VERSION@ +PROJECT_NAME = @PROJECT_NAME@ +PROJECT_NUMBER = @PROJECT_VERSION@ OUTPUT_DIRECTORY = . JAVADOC_AUTOBRIEF = YES OPTIMIZE_OUTPUT_FOR_C = YES