From 341bc2a1308fee3eff27223da77fb0c512e3988b Mon Sep 17 00:00:00 2001 From: papychacal Date: Thu, 18 Jan 2018 17:39:35 +0100 Subject: [PATCH] Added Tagfile generation and finding --- cmake/Modules/FindSFML.cmake | 4 ++++ doc/doxyfile.in | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/cmake/Modules/FindSFML.cmake b/cmake/Modules/FindSFML.cmake index d2ec360b..3341177e 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 9a44a6aa..34cff3ab 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.