From 7070be116086af84dc9194aa19aa552a15e695b2 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 llvm-svn: 210577 --- libcxx/CMakeLists.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/libcxx/CMakeLists.txt b/libcxx/CMakeLists.txt index dd36b6163813..723ac121dc52 100644 --- a/libcxx/CMakeLists.txt +++ b/libcxx/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()