[PATCH] Install libunwind headers

Oleg Ranevskyy llvm.mail.list at gmail.com
Wed May 13 07:11:10 PDT 2015


Hi compnerd,

The patch forces "make install" for libunwind to install the libunwind headers.

REPOSITORY
  rL LLVM

http://reviews.llvm.org/D9744

Files:
  CMakeLists.txt
  include/CMakeLists.txt

Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -220,6 +220,7 @@
 #===============================================================================
 
 include_directories(include)
+add_subdirectory(include)
 
 add_subdirectory(src)
 
Index: include/CMakeLists.txt
===================================================================
--- include/CMakeLists.txt
+++ include/CMakeLists.txt
@@ -0,0 +1,12 @@
+set(LIBUNWIND_HEADER_PATTERN
+  PATTERN "*"
+  PATTERN "CMakeLists.txt" EXCLUDE
+  PATTERN ".svn" EXCLUDE
+  )
+
+install(DIRECTORY .
+  DESTINATION include
+  FILES_MATCHING
+  ${LIBUNWIND_HEADER_PATTERN}
+  PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
+  )

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9744.25678.patch
Type: text/x-patch
Size: 776 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150513/0620005a/attachment.bin>


More information about the llvm-commits mailing list