summaryrefslogtreecommitdiff
path: root/projects
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2014-02-27 08:59:01 +0000
committerAlexey Samsonov <samsonov@google.com>2014-02-27 08:59:01 +0000
commit9e443ca92a2b2dc89b3dea9a67bb8ab205e25777 (patch)
tree6d362e55ae63842a4ee037ea7c1e080ccd26fd11 /projects
parent1348dc097d65dd3eb59046c933496cc7bc72e556 (diff)
downloadllvm-9e443ca92a2b2dc89b3dea9a67bb8ab205e25777.tar.gz
[CMake] Introduce LLVM_BUILD_EXTERNAL_COMPILER_RT option
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202363 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'projects')
-rw-r--r--projects/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/projects/CMakeLists.txt b/projects/CMakeLists.txt
index 67943c2e9a36..e23a27705620 100644
--- a/projects/CMakeLists.txt
+++ b/projects/CMakeLists.txt
@@ -20,7 +20,9 @@ if(${LLVM_BUILD_RUNTIME})
if(NOT MSVC)
add_llvm_external_project(libcxx)
endif()
- add_llvm_external_project(compiler-rt)
+ if(NOT LLVM_BUILD_EXTERNAL_COMPILER_RT)
+ add_llvm_external_project(compiler-rt)
+ endif()
endif()
add_llvm_external_project(dragonegg)