diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 2d3cd18aa..2a44c217a 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -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)