Skip to content

Commit dfd8008

Browse files
committed
[CMake] Correct configuration order of the sub-projects based on ther dependancies
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@283698 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 373988f commit dfd8008

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

projects/CMakeLists.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ if(${LLVM_BUILD_RUNTIME})
2222
# MSVC isn't quite working with libc++ yet, disable it until issues are
2323
# fixed.
2424
if(NOT MSVC)
25-
# libc++ uses the libc++abi target names so libc++abi should be added
26-
# first.
25+
# Add the projects in reverse order of their dependencies so that the
26+
# dependent projects can see the target names of their dependencies.
27+
add_llvm_external_project(libunwind)
2728
add_llvm_external_project(libcxxabi)
2829
add_llvm_external_project(libcxx)
29-
add_llvm_external_project(libunwind)
3030
endif()
3131
if(NOT LLVM_BUILD_EXTERNAL_COMPILER_RT)
3232
add_llvm_external_project(compiler-rt)

0 commit comments

Comments
 (0)