Explorar el Código

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
Tom Stellard hace 8 años
padre
commit
9d17579a4f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      docs/CMakeLists.txt

+ 1 - 1
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