[CMake] Use just basename when copying C++ ABI headers
authorPetr Hosek <phosek@chromium.org>
Thu, 4 Oct 2018 05:38:53 +0000 (05:38 +0000)
committerPetr Hosek <phosek@chromium.org>
Thu, 4 Oct 2018 05:38:53 +0000 (05:38 +0000)
commit322d88f05ec72af159455e251136a470f968daa3
tree0eddb9e9298fa2df155f7ede3f8e18fa720f127f
parent0e16766b76550b2eb3416f386a62ab76450526c2
[CMake] Use just basename when copying C++ ABI headers

This avoids duplicate directories when the filename includes path.

Fixes PR39145

Differential Revision: https://reviews.llvm.org/D52762

llvm-svn: 343753
libcxx/cmake/Modules/HandleLibCXXABI.cmake