From 0bd40d6c3da6719fecf77038673d453ff1eab25b Mon Sep 17 00:00:00 2001 From: David Fang Date: Tue, 10 Jun 2014 20:26:54 +0000 Subject: [PATCH] fixes duplicate header installation http://llvm.org/bugs/show_bug.cgi?id=18681 Patch by Ryuta Suzuki git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@210577 91177308-0d34-0410-b5e6-96231b3b80d8 --- CMakeLists.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index dd36b616..723ac121 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()