diff options
| author | Siddharth Bhat <siddu.druid@gmail.com> | 2017-05-22 13:16:02 +0000 |
|---|---|---|
| committer | Siddharth Bhat <siddu.druid@gmail.com> | 2017-05-22 13:16:02 +0000 |
| commit | b2f754e39fe551f6a7bc67da58cb003c5f126b54 (patch) | |
| tree | f5fcf81115bcce3dd522ccd70d37f35bd92e6b41 | |
| parent | 74cb9c88314a02d186f203e87aac6ca1da1f7501 (diff) | |
| download | bcm5719-llvm-b2f754e39fe551f6a7bc67da58cb003c5f126b54.tar.gz bcm5719-llvm-b2f754e39fe551f6a7bc67da58cb003c5f126b54.zip | |
[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
| -rw-r--r-- | polly/docs/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/docs/CMakeLists.txt b/polly/docs/CMakeLists.txt index 32857e41138..a1ef5ce5277 100644 --- a/polly/docs/CMakeLists.txt +++ b/polly/docs/CMakeLists.txt @@ -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() |

