[clang-tools-extra] r302516 - docs: Fix Sphinx detection with out-of-tree builds

Tom Stellard via cfe-commits cfe-commits at lists.llvm.org
Tue May 9 04:11:52 PDT 2017


Author: tstellar
Date: Tue May  9 06:11:52 2017
New Revision: 302516

URL: http://llvm.org/viewvc/llvm-project?rev=302516&view=rev
Log:
docs: Fix Sphinx detection with out-of-tree builds

Adapt to changes made in r302499.

Modified:
    clang-tools-extra/trunk/docs/CMakeLists.txt

Modified: clang-tools-extra/trunk/docs/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/docs/CMakeLists.txt?rev=302516&r1=302515&r2=302516&view=diff
==============================================================================
--- clang-tools-extra/trunk/docs/CMakeLists.txt (original)
+++ clang-tools-extra/trunk/docs/CMakeLists.txt Tue May  9 06:11:52 2017
@@ -90,8 +90,8 @@ if (DOXYGEN_FOUND)
 endif()
 
 if (LLVM_ENABLE_SPHINX)
+  include(AddSphinxTarget)
   if (SPHINX_FOUND)
-    include(AddSphinxTarget)
     if (${SPHINX_OUTPUT_HTML})
       add_sphinx_target(html clang-tools)
     endif()




More information about the cfe-commits mailing list