mirror of
https://github.com/intel/llvm.git
synced 2026-01-18 07:57:36 +08:00
[Docs] Fix Sphinx documentation in CMake check.
Summary: - `include(AddSphinxTarget)` needs to occur before checking `SPHINX_FOUND`. - `docs-polly-html` and `docs-polly-man` are now usable again. - Perhaps we should build docs in the CI as well? Differential Revision: https://reviews.llvm.org/D33386 llvm-svn: 303549
This commit is contained in:
@@ -90,8 +90,8 @@ endif()
|
||||
endif()
|
||||
|
||||
if (LLVM_ENABLE_SPHINX)
|
||||
include(AddSphinxTarget)
|
||||
if (SPHINX_FOUND)
|
||||
include(AddSphinxTarget)
|
||||
if (${SPHINX_OUTPUT_HTML})
|
||||
add_sphinx_target(html polly)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user