[CMake] Move cxx-headers to RUNTIME_DISTRIBUTION_COMPONENTS in Apple-stage2.cmake
authorLouis Dionne <ldionne.2@gmail.com>
Tue, 23 Aug 2022 17:27:03 +0000 (13:27 -0400)
committerLouis Dionne <ldionne.2@gmail.com>
Tue, 23 Aug 2022 21:02:51 +0000 (17:02 -0400)
commit7dfcf9342b5af794aadd4ca81490090fe7ca6a45
tree5bec5d78cd35b64fd01945f1a1ca9691a9793694
parentb5a9adf1f533c6403d780bb127bda4b53f7dc7ed
[CMake] Move cxx-headers to RUNTIME_DISTRIBUTION_COMPONENTS in Apple-stage2.cmake

We build libcxx using LLVM_ENABLE_RUNTIMES during Stage2, which requires
cxx-headers to be part of LLVM_RUNTIME_DISTRIBUTION_COMPONENTS instead
of LLVM_DISTRIBUTION_COMPONENTS.

rdar://99028431

Differential Revision: https://reviews.llvm.org/D132488
clang/cmake/caches/Apple-stage2.cmake