summaryrefslogtreecommitdiffstats
path: root/libcxx/lib/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/lib/CMakeLists.txt')
-rw-r--r--libcxx/lib/CMakeLists.txt3
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)
OpenPOWER on IntegriCloud