mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 04:41:05 +08:00
Fix CMake scripts to install and find doxygen's generated SFML.tag file
This commit is contained in:
parent
6a79ebf1b3
commit
80c3bdc23c
@ -77,7 +77,7 @@ set(FIND_SFML_PATHS
|
|||||||
/opt)
|
/opt)
|
||||||
|
|
||||||
find_path(SFML_DOC_DIR SFML.tag
|
find_path(SFML_DOC_DIR SFML.tag
|
||||||
PATH_SUFFIXES SFML/doc share/SFML/doc
|
PATH_SUFFIXES SFML/doc share/doc/SFML
|
||||||
PATHS ${FIND_SFML_PATHS})
|
PATHS ${FIND_SFML_PATHS})
|
||||||
|
|
||||||
|
|
||||||
|
@ -52,6 +52,9 @@ add_custom_target(doc ALL
|
|||||||
WORKING_DIRECTORY ${DOXYGEN_INPUT_DIR})
|
WORKING_DIRECTORY ${DOXYGEN_INPUT_DIR})
|
||||||
|
|
||||||
# setup install rules
|
# setup install rules
|
||||||
|
install(FILES ${DOXYGEN_OUTPUT_DIR}/SFML.tag
|
||||||
|
DESTINATION ${CMAKE_INSTALL_DOCDIR}
|
||||||
|
COMPONENT doc)
|
||||||
install(DIRECTORY ${DOXYGEN_OUTPUT_DIR}/html
|
install(DIRECTORY ${DOXYGEN_OUTPUT_DIR}/html
|
||||||
DESTINATION ${CMAKE_INSTALL_DOCDIR}
|
DESTINATION ${CMAKE_INSTALL_DOCDIR}
|
||||||
COMPONENT doc)
|
COMPONENT doc)
|
||||||
|
Loading…
Reference in New Issue
Block a user