[CMake] Push the dependency on AddLLVM into the test and unites layers
authorChris Bieneman <beanz@apple.com>
Wed, 17 Feb 2016 16:38:54 +0000 (16:38 +0000)
committerChris Bieneman <beanz@apple.com>
Wed, 17 Feb 2016 16:38:54 +0000 (16:38 +0000)
commita58d0651cb490cbecf0f57cd7ca72d729a1e6eda
treef9b3d2bf5598220ea0a602d326f3dd6ab2fb3199
parent3f42095776dee960b6034c7a9ee92fe173dbc51a
[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
compiler-rt/cmake/Modules/AddCompilerRT.cmake
compiler-rt/test/CMakeLists.txt
compiler-rt/unittests/CMakeLists.txt