diff options
Diffstat (limited to 'projects')
-rw-r--r-- | projects/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/projects/CMakeLists.txt b/projects/CMakeLists.txt index 67943c2e9a..e23a277056 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) |