diff --git a/cmake/Modules/FindSFML.cmake b/cmake/Modules/FindSFML.cmake index d2ec360be..3341177e5 100644 --- a/cmake/Modules/FindSFML.cmake +++ b/cmake/Modules/FindSFML.cmake @@ -78,6 +78,10 @@ find_path(SFML_INCLUDE_DIR SFML/Config.hpp PATH_SUFFIXES include PATHS ${FIND_SFML_PATHS}) +find_path(SFML_DOC_DIR SFML.tag + PATH_SUFFIXES SFML/doc share/SFML/doc + PATHS ${FIND_SFML_PATHS}) + # check the version number set(SFML_VERSION_OK TRUE) if(SFML_FIND_VERSION AND SFML_INCLUDE_DIR) diff --git a/doc/doxyfile.in b/doc/doxyfile.in index 9a44a6aa6..34cff3abb 100644 --- a/doc/doxyfile.in +++ b/doc/doxyfile.in @@ -2046,7 +2046,7 @@ TAGFILES = # tag file that is based on the input files it reads. See section "Linking to # external documentation" for more information about the usage of tag files. -GENERATE_TAGFILE = +GENERATE_TAGFILE = @DOXYGEN_OUTPUT_DIR@/SFML.tag # If the ALLEXTERNALS tag is set to YES all external class will be listed in the # class index. If set to NO only the inherited external classes will be listed.