"lightx2v/git@developer.sourcefind.cn:Wenxuan/LightX2V.git" did not exist on "2a31ba430a2a7e66a84e068622c43a90ed95dfb1"
Commit f0604d78 authored by Paul's avatar Paul
Browse files

Add pdf support

parent d4e79b55
...@@ -39,3 +39,17 @@ add_sphinx_doc(src ...@@ -39,3 +39,17 @@ add_sphinx_doc(src
DEPENDS doxygen DEPENDS doxygen
) )
find_package(LATEX)
if(LATEX_FOUND)
add_sphinx_doc(src
BUILDER latex
OUTPUT_DIR pdf
VARS
breathe_projects.proj=${DOXYGEN_OUTPUT}/xml
breathe_default_project=proj
DEPENDS doxygen
)
else()
message("Latex builder not found. Latex builder is required only for building the PDF documentation for MIGraph and is not necessary for building the library, or any other components. To build PDF documentation run make in ${CMAKE_CURRENT_SOURCE_DIR}/pdf, once a latex builder is installed.")
endif()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment