[libcxx] r245790 - Fix default value for LLVM_INCLUDE_DOCS in out of tree build.
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Sat Aug 22 13:26:43 PDT 2015
Author: ericwf
Date: Sat Aug 22 15:26:42 2015
New Revision: 245790
URL: http://llvm.org/viewvc/llvm-project?rev=245790&view=rev
Log:
Fix default value for LLVM_INCLUDE_DOCS in out of tree build.
Modified:
libcxx/trunk/cmake/Modules/HandleOutOfTreeLLVM.cmake
Modified: libcxx/trunk/cmake/Modules/HandleOutOfTreeLLVM.cmake
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/cmake/Modules/HandleOutOfTreeLLVM.cmake?rev=245790&r1=245789&r2=245790&view=diff
==============================================================================
--- libcxx/trunk/cmake/Modules/HandleOutOfTreeLLVM.cmake (original)
+++ libcxx/trunk/cmake/Modules/HandleOutOfTreeLLVM.cmake Sat Aug 22 15:26:42 2015
@@ -77,6 +77,9 @@ if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURR
if (NOT DEFINED LLVM_INCLUDE_TESTS)
set(LLVM_INCLUDE_TESTS ${LLVM_FOUND})
endif()
+ if (NOT DEFINED LLVM_INCLUDE_DOCS)
+ set(LLVM_INCLUDE_DOCS ${LLVM_FOUND})
+ endif()
if (NOT DEFINED LLVM_ENABLE_SPHINX)
set(LLVM_ENABLE_SPHINX OFF)
endif()
More information about the cfe-commits
mailing list