[PATCH] D52762: [CMake] Use just basename when copying C++ ABI headers
Petr Hosek via Phabricator
reviews at reviews.llvm.org
Wed Oct 3 22:42:11 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rCXX343753: [CMake] Use just basename when copying C++ ABI headers (authored by phosek, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D52762?vs=167872&id=168231#toc
Repository:
rCXX libc++
https://reviews.llvm.org/D52762
Files:
cmake/Modules/HandleLibCXXABI.cmake
Index: cmake/Modules/HandleLibCXXABI.cmake
===================================================================
--- cmake/Modules/HandleLibCXXABI.cmake
+++ cmake/Modules/HandleLibCXXABI.cmake
@@ -41,7 +41,7 @@
get_filename_component(ifile ${fpath} NAME)
set(src ${incpath}/${fpath})
- set(dst ${LIBCXX_BINARY_INCLUDE_DIR}/${dstdir}/${fpath})
+ set(dst ${LIBCXX_BINARY_INCLUDE_DIR}/${dstdir}/${ifile})
add_custom_command(OUTPUT ${dst}
DEPENDS ${src}
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${src} ${dst}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52762.168231.patch
Type: text/x-patch
Size: 577 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20181004/0b35bf35/attachment.bin>
More information about the libcxx-commits
mailing list