From 299fc29a59f7f301a1f33092c2ffab1ab22b67dc Mon Sep 17 00:00:00 2001 From: "Michael J. Spencer" Date: Fri, 30 Nov 2012 21:02:29 +0000 Subject: [CMake] Add support for selecting which c++ abi library to use. llvm-svn: 169036 --- libcxx/lib/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libcxx/lib') diff --git a/libcxx/lib/CMakeLists.txt b/libcxx/lib/CMakeLists.txt index 0418b1c9117..e0f94ca67bd 100644 --- a/libcxx/lib/CMakeLists.txt +++ b/libcxx/lib/CMakeLists.txt @@ -31,7 +31,10 @@ else() ) endif() +add_dependencies(cxx ${LIBCXX_CXX_ABI_DEPS}) + # Generate library list. +set(libraries ${LIBCXX_CXX_ABI_LIBRARIES}) append_if(libraries LIBCXX_HAS_PTHREAD_LIB pthread) append_if(libraries LIBCXX_HAS_C_LIB c) append_if(libraries LIBCXX_HAS_M_LIB m) -- cgit v1.2.3