summaryrefslogtreecommitdiff
path: root/cmake/UseDoxygen.cmake
diff options
context:
space:
mode:
authorAzat Khuzhin <azat@libevent.org>2023-05-14 22:56:02 +0200
committerAzat Khuzhin <azat@libevent.org>2023-05-14 22:56:02 +0200
commit4dee61c02cc777c306227cd8378767ad544ce8bf (patch)
treec11d17e96adf777d8d6f9a73028fd83c29c06700 /cmake/UseDoxygen.cmake
parentfe610f2cdcca98402ec6d104ab6b565699dcc3e6 (diff)
parent16be768dac438efafbafb6395066f262410459ca (diff)
downloadlibevent-4dee61c02cc777c306227cd8378767ad544ce8bf.tar.gz
Merge remote-tracking branch 'upstream/pr/1397' - #1397
* upstream/pr/1397: Make sure exported include dirs are correct Fix Configure_RPATH() Install LibeventConfig.cmake similar to other cmake files Use GNUInstallDirs for mapping installation directories
Diffstat (limited to 'cmake/UseDoxygen.cmake')
-rw-r--r--cmake/UseDoxygen.cmake4
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()