build: Sphinx documentation install step refactored

This commit is contained in:
Mateusz Pusz committed 2021-11-05 23:55:24 +01:00
1 parent ec6b625135
commit 7006dfcafb
1 file changed
+1 -3
+1 -3
View File
@@ -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()