[libcxx] r210577 - fixes duplicate header installation

David Fang fang at csl.cornell.edu
Tue Jun 10 13:26:54 PDT 2014


Author: fangism
Date: Tue Jun 10 15:26:54 2014
New Revision: 210577

URL: http://llvm.org/viewvc/llvm-project?rev=210577&view=rev
Log:
fixes duplicate header installation
http://llvm.org/bugs/show_bug.cgi?id=18681
Patch by Ryuta Suzuki <oroppas gmail com>

Modified:
    libcxx/trunk/CMakeLists.txt

Modified: libcxx/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/CMakeLists.txt?rev=210577&r1=210576&r2=210577&view=diff
==============================================================================
--- libcxx/trunk/CMakeLists.txt (original)
+++ libcxx/trunk/CMakeLists.txt Tue Jun 10 15:26:54 2014
@@ -123,13 +123,9 @@ macro(setup_abi_lib abipathvar abidefine
       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()
 





More information about the cfe-commits mailing list