Commit 7a802460 authored by Joseph Mirabel's avatar Joseph Mirabel
Browse files

Fix installation when INSTALL_DOCUMENTATION is FALSE

parent 1c83f2ea
......@@ -108,8 +108,10 @@ INSTALL(DIRECTORY
doc/images
doc/figures
DESTINATION ${CMAKE_INSTALL_DOCDIR})
INSTALL(
FILES ${CMAKE_CURRENT_BINARY_DIR}/doc/doxygen-xml/index.xml
DESTINATION ${CMAKE_INSTALL_DOCDIR}/doxygen-html)
IF(NOT DEFINED INSTALL_DOCUMENTATION OR ${INSTALL_DOCUMENTATION})
INSTALL(
FILES ${CMAKE_CURRENT_BINARY_DIR}/doc/doxygen-xml/index.xml
DESTINATION ${CMAKE_INSTALL_DOCDIR}/doxygen-html)
ENDIF()
setup_project_finalize()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment