libc++abi: remove build infrastructure for unwind

This removes the libunwind build infrastructure as libunwind is gaining its own
CMakeLists.txt.  The removal must occur first due to the multiple definitions of
the same target.

llvm-svn: 235794
This commit is contained in:
Saleem Abdulrasool 2015-04-25 01:46:29 +00:00
parent e3654ce7ab
commit a121d08ff8

View File

@ -300,16 +300,14 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${LIBCXXABI_C_FLAGS}")
#===============================================================================
include_directories(include)
include_directories(../libunwind/include)
if (LIBCXXABI_USE_LLVM_UNWINDER)
include_directories(${LLVM_MAIN_SRC_DIR}/projects/libunwind/include)
endif ()
# Add source code. This also contains all of the logic for deciding linker flags
# soname, etc...
add_subdirectory(src)
if (LIBCXXABI_USE_LLVM_UNWINDER)
add_subdirectory(../libunwind/src "${CMAKE_CURRENT_BINARY_DIR}/libunwind")
endif()
if(NOT LIBCXXABI_ENABLE_SHARED)
# TODO: Fix the libc++ cmake files so that libc++abi can be statically linked.
# As it is now, libc++ will prefer linking against a dynamic libc++abi in the