Explorar o 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 %!s(int64=8) %!d(string=hai) anos
pai
achega
9d17579a4f
Modificáronse 1 ficheiros con 1 adicións e 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