fixes duplicate header installation

http://llvm.org/bugs/show_bug.cgi?id=18681
Patch by Ryuta Suzuki <oroppas gmail com>

llvm-svn: 210577
This commit is contained in:
David Fang 2014-06-10 20:26:54 +00:00
parent 8d614d0335
commit 7070be1160
1 changed files with 1 additions and 5 deletions

View File

@ -123,13 +123,9 @@ macro(setup_abi_lib abipathvar abidefines abilibs abifiles abidirs)
message(FATAL_ERROR "Failed to find ${fpath}")
endif()
endforeach()
add_custom_target(abilib_headers DEPENDS ${LIBCXX_CXX_ABI_DEPS})
set(LIBCXX_CXX_ABI_DEPS abilib_headers)
include_directories("${CMAKE_BINARY_DIR}/include")
install(DIRECTORY "${CMAKE_BINARY_DIR}/include/"
install(FILES ${LIBCXX_CXX_ABI_DEPS}
DESTINATION include/c++/v1
FILES_MATCHING
PATTERN "*"
)
endmacro()