blob: a57da03199c4762233974a790b29986f86d173e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
From f8f63a8b4033549d47384c6e2b1972ae1a2775fc Mon Sep 17 00:00:00 2001
From: Andreas Schneider <asn@cryptomilk.org>
Date: Wed, 2 Jan 2019 10:28:57 +0100
Subject: [PATCH] cmake: Use correct installation dir for generated docs
Fixes #623
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
---
cmake/generateDoc.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmake/generateDoc.cmake b/cmake/generateDoc.cmake
index a3aea727..16823946 100644
--- a/cmake/generateDoc.cmake
+++ b/cmake/generateDoc.cmake
@@ -21,7 +21,7 @@ macro(generate_documentation DOX_CONFIG_FILE)
set(DOXY_CONFIG "${CMAKE_CURRENT_BINARY_DIR}/doxy.config")
add_custom_target(doc ${DOXYGEN_EXECUTABLE} ${DOXY_CONFIG})
- install(DIRECTORY "${PROJECT_BINARY_DIR}/doc/html/" DESTINATION "share/doc/lib${PROJECT_NAME}")
+ install(DIRECTORY "${PROJECT_BINARY_DIR}/doc/html/" DESTINATION ${CMAKE_INSTALL_DOCDIR})
set_property(DIRECTORY APPEND PROPERTY ADDITIONAL_MAKE_CLEAN_FILES doc)
endmacro()
--
2.20.1
|