summaryrefslogtreecommitdiffstats
path: root/llvm/projects
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-10-09 20:38:29 +0000
committerEric Fiselier <eric@efcs.ca>2016-10-09 20:38:29 +0000
commit0d42e158b1816098d6048c6e1a8bf3f420650597 (patch)
tree611ebc7df8f90aa109f34604eaff149c4c7742b5 /llvm/projects
parentaedafd411ad6a5957a20859ece0f0ea5ed0ec8dd (diff)
downloadbcm5719-llvm-0d42e158b1816098d6048c6e1a8bf3f420650597.tar.gz
bcm5719-llvm-0d42e158b1816098d6048c6e1a8bf3f420650597.zip
[CMake] Correct configuration order of the sub-projects based on ther dependancies
llvm-svn: 283698
Diffstat (limited to 'llvm/projects')
-rw-r--r--llvm/projects/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/projects/CMakeLists.txt b/llvm/projects/CMakeLists.txt
index 82fd6c8c9c7..2122665c0dc 100644
--- a/llvm/projects/CMakeLists.txt
+++ b/llvm/projects/CMakeLists.txt
@@ -22,11 +22,11 @@ if(${LLVM_BUILD_RUNTIME})
# MSVC isn't quite working with libc++ yet, disable it until issues are
# fixed.
if(NOT MSVC)
- # libc++ uses the libc++abi target names so libc++abi should be added
- # first.
+ # Add the projects in reverse order of their dependencies so that the
+ # dependent projects can see the target names of their dependencies.
+ add_llvm_external_project(libunwind)
add_llvm_external_project(libcxxabi)
add_llvm_external_project(libcxx)
- add_llvm_external_project(libunwind)
endif()
if(NOT LLVM_BUILD_EXTERNAL_COMPILER_RT)
add_llvm_external_project(compiler-rt)
OpenPOWER on IntegriCloud