summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 08864b8..bb73a31 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -36,5 +36,6 @@ add_custom_target(apidoc ${_cppunit_apidoc_all}
COMMENT "Generating HTML documentation")
if(CPPUNIT_INSTALL_APIDOC)
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/cppunit DESTINATION share/doc)
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/cppunit/
+ DESTINATION share/${CPPUNIT_VERSION}/doc COMPONENT doc)
endif()