Use new HTML Help flag for the install target

This commit is contained in:
Lukas Dürrenberger 2024-12-10 20:22:44 +01:00
parent ccda2659d4
commit e103eb1272

View File

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