summaryrefslogtreecommitdiff
path: root/projects
diff options
context:
space:
mode:
Diffstat (limited to 'projects')
-rw-r--r--projects/CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/projects/CMakeLists.txt b/projects/CMakeLists.txt
index c19bb679d1..de06b78423 100644
--- a/projects/CMakeLists.txt
+++ b/projects/CMakeLists.txt
@@ -11,9 +11,10 @@ foreach(entry ${entries})
endif()
endforeach(entry)
-# Also add in the compiler-rt tree if present and we have a sufficiently
-# recent version of CMake.
+# Also add in libc++ and compiler-rt trees if present (and we have
+# a sufficiently recent version of CMake where required).
if(${LLVM_BUILD_RUNTIME})
+ add_llvm_external_project(libcxx)
if(${CMAKE_VERSION} VERSION_GREATER 2.8.7)
add_llvm_external_project(compiler-rt)
else()