We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efaa917 commit 3df694dCopy full SHA for 3df694d
doc/CMakeLists.txt
@@ -87,7 +87,12 @@ if (DOXYGEN_FOUND)
87
ALL
88
COMMENT "Generating docs"
89
)
90
- install(DIRECTORY ${DOXYGEN_OUTPUT_DIR}/html DESTINATION share/doc)
+
91
+ # See https://cmake.org/cmake/help/latest/module/FindDoxygen.html#variable:DOXYGEN_OUTPUT_DIRECTORY
92
+ install(
93
+ DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html
94
+ DESTINATION share/doc
95
+ COMPONENT Docs)
96
else()
97
message(FATAL_ERROR "Doxygen needs to be installed to generate the documentation")
98
endif()
0 commit comments