30 lines
854 B
Diff
30 lines
854 B
Diff
|
From 9d17579a4fa653627bfafa77621c3a89867da97d Mon Sep 17 00:00:00 2001
|
||
|
From: Tom Stellard <tstellar@redhat.com>
|
||
|
Date: Tue, 9 May 2017 01:42:33 +0000
|
||
|
Subject: [PATCH] docs: Fix Sphinx detection with out-of-tree builds
|
||
|
|
||
|
Adapt to changes made in r302499.
|
||
|
|
||
|
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@302500 91177308-0d34-0410-b5e6-96231b3b80d8
|
||
|
---
|
||
|
docs/CMakeLists.txt | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt
|
||
|
index 13b79fdf..d2956c1 100644
|
||
|
--- a/docs/CMakeLists.txt
|
||
|
+++ b/docs/CMakeLists.txt
|
||
|
@@ -91,8 +91,8 @@ endif()
|
||
|
endif()
|
||
|
|
||
|
if (LLVM_ENABLE_SPHINX)
|
||
|
+ include(AddSphinxTarget)
|
||
|
if (SPHINX_FOUND)
|
||
|
- include(AddSphinxTarget)
|
||
|
if (${SPHINX_OUTPUT_HTML})
|
||
|
add_sphinx_target(html clang)
|
||
|
add_custom_command(TARGET docs-clang-html POST_BUILD
|
||
|
--
|
||
|
1.8.3.1
|
||
|
|