forked from OSchip/llvm-project
[libc++] Enable tests and documentation by default when building standalone
Since we can always find the rest of the LLVM tree, we can always run the tests in the standalone mode. Do it so that the default behavior is the same in the standalone and non-standalone modes.
This commit is contained in:
parent
09943e8de1
commit
da940b1a2d
|
@ -40,10 +40,10 @@ include(AddLLVM OPTIONAL)
|
|||
|
||||
# LLVM Options --------------------------------------------------------------
|
||||
if (NOT DEFINED LLVM_INCLUDE_TESTS)
|
||||
set(LLVM_INCLUDE_TESTS ${LLVM_FOUND})
|
||||
set(LLVM_INCLUDE_TESTS ON)
|
||||
endif()
|
||||
if (NOT DEFINED LLVM_INCLUDE_DOCS)
|
||||
set(LLVM_INCLUDE_DOCS ${LLVM_FOUND})
|
||||
set(LLVM_INCLUDE_DOCS ON)
|
||||
endif()
|
||||
if (NOT DEFINED LLVM_ENABLE_SPHINX)
|
||||
set(LLVM_ENABLE_SPHINX OFF)
|
||||
|
|
Loading…
Reference in New Issue