Revert "fixes duplicate header installation"

This reverts commit 0bd40d6c3da6719fecf77038673d453ff1eab25b.

llvm-svn: 210857
This commit is contained in:
David Fang 2014-06-12 23:19:55 +00:00
parent 32506ed8be
commit 09b61ebcbe
1 changed files with 5 additions and 1 deletions

View File

@ -123,9 +123,13 @@ 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(FILES ${LIBCXX_CXX_ABI_DEPS}
install(DIRECTORY "${CMAKE_BINARY_DIR}/include/"
DESTINATION include/c++/v1
FILES_MATCHING
PATTERN "*"
)
endmacro()