[PATCH] D42460: [cmake] [libcxxabi] Call llvm_setup_rpath() when adding shared libraries.
Phabricator via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 25 19:44:05 PST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL323495: Reland: (authored by dhinton, committed by ).
Repository:
rL LLVM
https://reviews.llvm.org/D42460
Files:
libcxxabi/trunk/src/CMakeLists.txt
Index: libcxxabi/trunk/src/CMakeLists.txt
===================================================================
--- libcxxabi/trunk/src/CMakeLists.txt
+++ libcxxabi/trunk/src/CMakeLists.txt
@@ -127,6 +127,9 @@
# Build the shared library.
if (LIBCXXABI_ENABLE_SHARED)
add_library(cxxabi_shared SHARED $<TARGET_OBJECTS:cxxabi_objects>)
+ if(LLVM_FOUND)
+ llvm_setup_rpath(cxxabi_shared)
+ endif()
target_link_libraries(cxxabi_shared ${LIBCXXABI_LIBRARIES})
set_target_properties(cxxabi_shared
PROPERTIES
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42460.131536.patch
Type: text/x-patch
Size: 541 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180126/1492fbd1/attachment.bin>
More information about the cfe-commits
mailing list