Hi EricWF, mclow.lists, danalbert,
Trying to build libc++ with libc++abi, I was surprised that, although there
exists a cmake variable to specify location of libc++abi includes
(LIBCXX_LIBCXXABI_INCLUDE_PATHS), there is no way to provide the location of
libc++abi.so.
I suggest adding a variable LIBCXX_LIBCXXABI_LIBRARY for that purpose.
http://reviews.llvm.org/D5491
Files:
CMakeLists.txt
Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -162,7 +162,9 @@
if (LIBCXX_CXX_ABI_INTREE)
# Link against just-built "cxxabi" target.
set(CXXABI_LIBNAME cxxabi)
- else()
+ elseif(LIBCXX_LIBCXXABI_LIBRARY)
+ set(CXXABI_LIBNAME ${LIBCXX_LIBCXXABI_LIBRARY})
+ else()
# Assume c++abi is installed in the system, rely on -lc++abi link flag.
set(CXXABI_LIBNAME "c++abi")
endif()
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits