[PATCH] D24015: [CMake] Copy headers relative to LLVM_BINARY_DIR
Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 30 10:00:00 PDT 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL280108: [CMake] Copy headers relative to LLVM_BINARY_DIR (authored by cbieneman).
Changed prior to commit:
https://reviews.llvm.org/D24015?vs=69637&id=69716#toc
Repository:
rL LLVM
https://reviews.llvm.org/D24015
Files:
libcxx/trunk/include/CMakeLists.txt
Index: libcxx/trunk/include/CMakeLists.txt
===================================================================
--- libcxx/trunk/include/CMakeLists.txt
+++ libcxx/trunk/include/CMakeLists.txt
@@ -10,11 +10,13 @@
${LIBCXX_SUPPORT_HEADER_PATTERN}
)
-file(COPY .
- DESTINATION "${CMAKE_BINARY_DIR}/include/c++/v1"
- FILES_MATCHING
- ${LIBCXX_HEADER_PATTERN}
- )
+if(LLVM_BINARY_DIR)
+ file(COPY .
+ DESTINATION "${LLVM_BINARY_DIR}/include/c++/v1"
+ FILES_MATCHING
+ ${LIBCXX_HEADER_PATTERN}
+ )
+endif()
if (LIBCXX_INSTALL_HEADERS)
install(DIRECTORY .
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24015.69716.patch
Type: text/x-patch
Size: 579 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160830/b99b15b9/attachment.bin>
More information about the cfe-commits
mailing list