Revert "fixes duplicate header installation"

This reverts commit 0bd40d6c3d.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@210857 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
David Fang 2014-06-12 23:19:55 +00:00
parent 164b297099
commit 04035d66d0

View File

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