aboutsummaryrefslogtreecommitdiff
path: root/libcxx
diff options
context:
space:
mode:
authorDavid Fang <fang@csl.cornell.edu>2014-06-10 20:26:54 +0000
committerDavid Fang <fang@csl.cornell.edu>2014-06-10 20:26:54 +0000
commit7070be116086af84dc9194aa19aa552a15e695b2 (patch)
treeee1bbb6df0f870a07e04aabcc39350a8bd21a04e /libcxx
parent8d614d03350ae7c78190212009d75f86ef3b3b76 (diff)
downloadllvm-7070be116086af84dc9194aa19aa552a15e695b2.zip
llvm-7070be116086af84dc9194aa19aa552a15e695b2.tar.gz
llvm-7070be116086af84dc9194aa19aa552a15e695b2.tar.bz2
fixes duplicate header installation
http://llvm.org/bugs/show_bug.cgi?id=18681 Patch by Ryuta Suzuki <oroppas gmail com> llvm-svn: 210577
Diffstat (limited to 'libcxx')
-rw-r--r--libcxx/CMakeLists.txt6
1 files changed, 1 insertions, 5 deletions
diff --git a/libcxx/CMakeLists.txt b/libcxx/CMakeLists.txt
index dd36b61..723ac12 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()