diff options
author | Michael J. Spencer <bigcheesegs@gmail.com> | 2012-11-30 21:02:29 +0000 |
---|---|---|
committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2012-11-30 21:02:29 +0000 |
commit | 299fc29a59f7f301a1f33092c2ffab1ab22b67dc (patch) | |
tree | 8c34ee7e5ad8a84b065722627845dd00a6f23d7d /libcxx/lib | |
parent | c5917d9a38ce0e4ad0a8f888f759de382dbe8f2d (diff) | |
download | bcm5719-llvm-299fc29a59f7f301a1f33092c2ffab1ab22b67dc.tar.gz bcm5719-llvm-299fc29a59f7f301a1f33092c2ffab1ab22b67dc.zip |
[CMake] Add support for selecting which c++ abi library to use.
llvm-svn: 169036
Diffstat (limited to 'libcxx/lib')
-rw-r--r-- | libcxx/lib/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
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) |