Use GnuInstallDirs module for cmake install paths
This commit is contained in:
parent
81a1da6a59
commit
27a4c83ebc
11 changed files with 41 additions and 80 deletions
|
@ -53,10 +53,10 @@ add_custom_target(doc ALL
|
|||
|
||||
# setup install rules
|
||||
install(DIRECTORY ${DOXYGEN_OUTPUT_DIR}/html
|
||||
DESTINATION ${SFML_MISC_INSTALL_PREFIX}/doc
|
||||
DESTINATION ${CMAKE_INSTALL_DOCDIR}
|
||||
COMPONENT doc)
|
||||
if(DOXYGEN_HHC_PROGRAM)
|
||||
install(FILES ${DOXYGEN_OUTPUT_DIR}/sfml.chm
|
||||
DESTINATION ${SFML_MISC_INSTALL_PREFIX}/doc
|
||||
DESTINATION ${CMAKE_INSTALL_DOCDIR}
|
||||
COMPONENT doc)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue