[libcxx] r318989 - Fix installation of cxxabi.h through libc++.

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Sat Nov 25 15:39:17 PST 2017


Author: ericwf
Date: Sat Nov 25 15:39:17 2017
New Revision: 318989

URL: http://llvm.org/viewvc/llvm-project?rev=318989&view=rev
Log:
Fix installation of cxxabi.h through libc++.

Previously, the install command for the cxxabi headers specified
the wrong component, and therefore they were not being included
in the install-cxx command.

This patch corrects the component name.

Modified:
    libcxx/trunk/cmake/Modules/HandleLibCXXABI.cmake

Modified: libcxx/trunk/cmake/Modules/HandleLibCXXABI.cmake
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/cmake/Modules/HandleLibCXXABI.cmake?rev=318989&r1=318988&r2=318989&view=diff
==============================================================================
--- libcxx/trunk/cmake/Modules/HandleLibCXXABI.cmake (original)
+++ libcxx/trunk/cmake/Modules/HandleLibCXXABI.cmake Sat Nov 25 15:39:17 2017
@@ -56,7 +56,7 @@ macro(setup_abi_lib abidefines abilib ab
         if (LIBCXX_INSTALL_HEADERS)
           install(FILES "${LIBCXX_BINARY_INCLUDE_DIR}/${fpath}"
             DESTINATION ${LIBCXX_INSTALL_PREFIX}include/c++/v1/${dstdir}
-            COMPONENT libcxx
+            COMPONENT cxx-headers
             PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
             )
         endif()




More information about the cfe-commits mailing list