diff options
author | Chris Bieneman <beanz@apple.com> | 2016-02-17 16:38:54 +0000 |
---|---|---|
committer | Chris Bieneman <beanz@apple.com> | 2016-02-17 16:38:54 +0000 |
commit | 0a83a9d06ca14155ed96a4da99af1a4a571d9d76 (patch) | |
tree | de313923ca49ab01f182f974345fabcc3a356a02 /unittests/CMakeLists.txt | |
parent | 0ab085c67585346958e8f1d3a3413c543b0196ba (diff) |
[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.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@261105 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/CMakeLists.txt')
-rw-r--r-- | unittests/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/unittests/CMakeLists.txt b/unittests/CMakeLists.txt index fe2c39781..e5059bd91 100644 --- a/unittests/CMakeLists.txt +++ b/unittests/CMakeLists.txt @@ -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) |