Skip to content

Commit 1d3cb94

Browse files
committed
Merging r343753:
------------------------------------------------------------------------ r343753 | phosek | 2018-10-03 22:38:53 -0700 (Wed, 03 Oct 2018) | 7 lines [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: 348322
1 parent 5b036d9 commit 1d3cb94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/cmake/Modules/HandleLibCXXABI.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ macro(setup_abi_lib abidefines abilib abifiles abidirs)
4141
get_filename_component(ifile ${fpath} NAME)
4242
set(src ${incpath}/${fpath})
4343

44-
set(dst ${LIBCXX_BINARY_INCLUDE_DIR}/${dstdir}/${fpath})
44+
set(dst ${LIBCXX_BINARY_INCLUDE_DIR}/${dstdir}/${ifile})
4545
add_custom_command(OUTPUT ${dst}
4646
DEPENDS ${src}
4747
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${src} ${dst}

0 commit comments

Comments
 (0)