[PATCH] D28580: [CMake][libcxx] Check that we have libcxxabi before using it
Petr Hosek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 11 15:22:42 PST 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL291723: [CMake][libcxx] Check that we have libcxxabi before using it (authored by phosek).
Changed prior to commit:
https://reviews.llvm.org/D28580?vs=84035&id=84041#toc
Repository:
rL LLVM
https://reviews.llvm.org/D28580
Files:
libcxx/trunk/CMakeLists.txt
Index: libcxx/trunk/CMakeLists.txt
===================================================================
--- libcxx/trunk/CMakeLists.txt
+++ libcxx/trunk/CMakeLists.txt
@@ -119,7 +119,8 @@
${LLVM_MAIN_SRC_DIR}/runtimes/libcxxabi/include
NO_DEFAULT_PATH
)
- if (IS_DIRECTORY "${LIBCXX_LIBCXXABI_INCLUDES_INTERNAL}")
+ if ((NOT LIBCXX_STANDALONE_BUILD OR HAVE_LIBCXXABI) AND
+ IS_DIRECTORY "${LIBCXX_LIBCXXABI_INCLUDES_INTERNAL}")
set(LIBCXX_CXX_ABI_LIBNAME "libcxxabi")
set(LIBCXX_CXX_ABI_INCLUDE_PATHS "${LIBCXX_LIBCXXABI_INCLUDES_INTERNAL}")
set(LIBCXX_CXX_ABI_INTREE 1)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28580.84041.patch
Type: text/x-patch
Size: 611 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170111/05b655c3/attachment.bin>
More information about the llvm-commits
mailing list