diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2021-10-27 16:40:10 -0700 |
---|---|---|
committer | Azat Khuzhin <azat@libevent.org> | 2023-05-14 22:43:47 +0200 |
commit | 1f1593ff27bdf51c3e1c45b92cfb0ac931960298 (patch) | |
tree | 591bf3115c8b2fed9e88c68d0ea63460702d5689 /cmake/UseDoxygen.cmake | |
parent | fe610f2cdcca98402ec6d104ab6b565699dcc3e6 (diff) | |
download | libevent-1f1593ff27bdf51c3e1c45b92cfb0ac931960298.tar.gz |
Use GNUInstallDirs for mapping installation directories
Diffstat (limited to 'cmake/UseDoxygen.cmake')
-rw-r--r-- | cmake/UseDoxygen.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/UseDoxygen.cmake b/cmake/UseDoxygen.cmake index c7e4b175..292aaaa4 100644 --- a/cmake/UseDoxygen.cmake +++ b/cmake/UseDoxygen.cmake @@ -90,7 +90,7 @@ macro(UseDoxygen) if ("${DOXYGEN_GENERATE_HTML}" STREQUAL "YES") install(DIRECTORY ${PROJECT_BINARY_DIR}/${DOXYGEN_OUTPUT_DIRECTORY}/html - DESTINATION ${CMAKE_INSTALL_PREFIX}/share/doc/${PROJECT_NAME} + DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/doc/${PROJECT_NAME} COMPONENT doc ) endif() @@ -106,7 +106,7 @@ macro(UseDoxygen) # Install manual into <prefix>/share/man/man3 install(DIRECTORY ${MAN_PAGES_DIR} - DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man + DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/man COMPONENT doc ) endif() |