From 2ba9a21ad07777bd18afe6f0d93a86a5217a14d2 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Sat, 25 Apr 2015 01:47:39 +0000 Subject: [PATCH] build: make libunwind a proper project This allows the build infrastructure to properly detect and build libunwind. llvm-svn: 235796 --- llvm/projects/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/llvm/projects/CMakeLists.txt b/llvm/projects/CMakeLists.txt index 428ce84..d3b2fc3 100644 --- a/llvm/projects/CMakeLists.txt +++ b/llvm/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) -- 2.7.4