From 7006dfcafb0e564838207d02435fd7e779b5da44 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Fri, 5 Nov 2021 23:55:24 +0100 Subject: [PATCH] build: Sphinx documentation install step refactored --- cmake/documentation.cmake | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cmake/documentation.cmake b/cmake/documentation.cmake index 9213c9e6..d3cbf585 100644 --- a/cmake/documentation.cmake +++ b/cmake/documentation.cmake @@ -119,8 +119,6 @@ function(add_documentation targetName) if(_args_INSTALL_DIR) # Add an install step to install the docs - install(DIRECTORY ${_sphinx_docs_dir} - DESTINATION ${CMAKE_INSTALL_DOCDIR} - ) + install(DIRECTORY ${_sphinx_docs_dir} TYPE DOC) endif() endfunction()