use acg_create_doc_target
This commit is contained in:
@@ -3,10 +3,7 @@ include (ACGDoxygen)
|
|||||||
IF (DOXYGEN_FOUND)
|
IF (DOXYGEN_FOUND)
|
||||||
|
|
||||||
# Add a documentation install target
|
# Add a documentation install target
|
||||||
add_custom_target(doc-install COMMENT "Installing Documentation" VERBATIM )
|
acg_create_doc_target(doc-install)
|
||||||
|
|
||||||
# Build Documentation before installing it
|
|
||||||
add_dependencies(doc-install doc)
|
|
||||||
|
|
||||||
if (TARGET doc-install)
|
if (TARGET doc-install)
|
||||||
acg_copy_after_build (doc-install "${CMAKE_BINARY_DIR}/Build/${ACG_PROJECT_DATADIR}/Doc/html" "${CMAKE_INSTALL_PREFIX}/${ACG_PROJECT_DATADIR}/doc/html")
|
acg_copy_after_build (doc-install "${CMAKE_BINARY_DIR}/Build/${ACG_PROJECT_DATADIR}/Doc/html" "${CMAKE_INSTALL_PREFIX}/${ACG_PROJECT_DATADIR}/doc/html")
|
||||||
|
|||||||
Submodule cmake-library updated: 9c4e20e20c...408906cf7d
Reference in New Issue
Block a user