summaryrefslogtreecommitdiff
path: root/projects
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2015-04-25 01:47:39 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2015-04-25 01:47:39 +0000
commit2b08044287e18cdbe04cc7f839246db4089b3b3f (patch)
treea933703e413f0f0256d18aa1da1865c3feba3022 /projects
parent87dc11bb4c508dd7b14a1d98841a1a9945984d82 (diff)
build: make libunwind a proper project
This allows the build infrastructure to properly detect and build libunwind. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235796 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 428ce84efd7..d3b2fc37af7 100644
--- a/projects/CMakeLists.txt
+++ b/projects/CMakeLists.txt
@@ -7,7 +7,8 @@ foreach(entry ${entries})
if((NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/compiler-rt) AND
(NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/dragonegg) AND
(NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/libcxx) AND
- (NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/libcxxabi))
+ (NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/libcxxabi) AND
+ (NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/libunwind))
add_subdirectory(${entry})
endif()
endif()
@@ -23,6 +24,7 @@ if(${LLVM_BUILD_RUNTIME})
# first.
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)