[CMake] Push the dependency on AddLLVM into the test and unites layers

Compiler-rt only relies on LLVM for lit support. Pushing this dependency down into the test and unitest layers will allow builtin libraries to be built without LLVM.

llvm-svn: 261105
This commit is contained in:
Chris Bieneman 2016-02-17 16:38:54 +00:00
parent 3f42095776
commit a58d0651cb
3 changed files with 6 additions and 1 deletions

View File

@ -1,4 +1,3 @@
include(AddLLVM)
include(ExternalProject)
include(CompilerRTUtils)

View File

@ -1,3 +1,6 @@
# Needed for lit support
include(AddLLVM)
configure_lit_site_cfg(
${CMAKE_CURRENT_SOURCE_DIR}/lit.common.configured.in
${CMAKE_CURRENT_BINARY_DIR}/lit.common.configured)

View File

@ -1,3 +1,6 @@
# Needed for lit support
include(AddLLVM)
configure_lit_site_cfg(
${CMAKE_CURRENT_SOURCE_DIR}/lit.common.unit.configured.in
${CMAKE_CURRENT_BINARY_DIR}/lit.common.unit.configured)