Use new HTML Help flag for the install target

This commit is contained in:
Lukas Dürrenberger 2024-12-10 21:39:38 +01:00 committed by Chris Thrasher
parent c927d76fb2
commit 659044dfb7

View File

@ -63,7 +63,7 @@ install(FILES ${DOXYGEN_OUTPUT_DIR}/SFML.tag
install(DIRECTORY ${DOXYGEN_OUTPUT_DIR}/html
DESTINATION ${CMAKE_INSTALL_DOCDIR}
COMPONENT doc)
if(DOXYGEN_HHC_PROGRAM)
if(DOXYGEN_GENERATE_HTMLHELP)
install(FILES ${DOXYGEN_OUTPUT_DIR}/sfml.chm
DESTINATION ${CMAKE_INSTALL_DOCDIR}
COMPONENT doc)