[libcxx] r302517 - docs: Fix Sphinx detection with out-of-tree builds

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


Author: tstellar
Date: Tue May  9 06:18:03 2017
New Revision: 302517

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

Adapt to changes made in r302499.

Modified:
    libcxx/trunk/docs/CMakeLists.txt

Modified: libcxx/trunk/docs/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/docs/CMakeLists.txt?rev=302517&r1=302516&r2=302517&view=diff
==============================================================================
--- libcxx/trunk/docs/CMakeLists.txt (original)
+++ libcxx/trunk/docs/CMakeLists.txt Tue May  9 06:18:03 2017
@@ -1,9 +1,9 @@
 
 if (LLVM_ENABLE_SPHINX)
+  include(AddSphinxTarget)
   if (SPHINX_FOUND)
-    include(AddSphinxTarget)
     if (${SPHINX_OUTPUT_HTML})
       add_sphinx_target(html libcxx)
     endif()
   endif()
-endif()
\ No newline at end of file
+endif()




More information about the cfe-commits mailing list